comparison base/test/StressEventSeries.h @ 1627:1c21ddac220e single-point

Seems we can do just as well with a vector of events themselves
author Chris Cannam
date Mon, 11 Mar 2019 14:49:13 +0000
parents 7dbb2a7b592e
children 6db21df9f376
comparison
equal deleted inserted replaced
1626:895186c43fce 1627:1c21ddac220e
103 Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 13116ms 103 Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 13116ms
104 104
105 13.64user 0.26system 0:13.98elapsed 99%CPU (0avgtext+0avgdata 948104maxresident)k 105 13.64user 0.26system 0:13.98elapsed 99%CPU (0avgtext+0avgdata 948104maxresident)k
106 0inputs+40outputs (0major+234387minor)pagefaults 0swaps 106 0inputs+40outputs (0major+234387minor)pagefaults 0swaps
107 107
108 895186c43fce:
109
110 Time for 1000 short events = 1.706ms
111 Time for 10000 short events = 23.192ms
112 Time for 100000 short events = 310.605ms
113 Time for 1000000 short events = 4675.7ms
114 Time for 1000 longish events = 2.186ms
115 Time for 10000 longish events = 760.659ms
116 Time for 100000 longish events = 1335.57ms
117
118 Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 7804ms
119
120 7.97user 0.29system 0:08.31elapsed 99%CPU (0avgtext+0avgdata 706388maxresident)k
121 0inputs+40outputs (0major+182225minor)pagefaults 0swaps
122
108 */ 123 */
109 }; 124 };
110 125
111 #endif 126 #endif