15 Apr
2005
15 Apr
'05
12:19 a.m.
Rene Rivera wrote:
With a changed test that exercises all three functions, here's the timing results:
sp_counted_base_w32.hpp... debug: 15.673 - release: 7.151
sp_counted_base_cw_x86.hpp... debug: 15.943 - release: 6.499
sp_counted_base_nt.hpp... debug: 15.933 - release: 6.499
The _mt tests are also timing tests; you can try them, too. I've tried to make weak_ptr_mt_test fairly representative of real-world weak_ptr code. Don't bother testing the debug builds.