Skip to content

Instantly share code, notes, and snippets.

@medwards
Created November 14, 2017 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medwards/3604b4a2b4f1f130bef44690160690f2 to your computer and use it in GitHub Desktop.
Save medwards/3604b4a2b4f1f130bef44690160690f2 to your computer and use it in GitHub Desktop.
BASELINE (NO TRIMMING)
running 34 tests
test count_game_deserialize_borrowed_bytes ... bench: 15,067,145 ns/iter (+/- 549,500) = 172 MB/s
test count_game_deserialize_borrowed_str ... bench: 10,969,616 ns/iter (+/- 388,855) = 237 MB/s
test count_game_deserialize_owned_bytes ... bench: 29,264,088 ns/iter (+/- 939,824) = 88 MB/s
test count_game_deserialize_owned_str ... bench: 25,742,820 ns/iter (+/- 439,986) = 100 MB/s
test count_game_iter_bytes ... bench: 13,310,272 ns/iter (+/- 415,833) = 195 MB/s
test count_game_iter_str ... bench: 15,788,007 ns/iter (+/- 982,664) = 164 MB/s
test count_game_read_bytes ... bench: 7,129,372 ns/iter (+/- 1,590,015) = 364 MB/s
test count_game_read_str ... bench: 8,459,162 ns/iter (+/- 494,247) = 307 MB/s
test count_mbta_deserialize_borrowed_bytes ... bench: 3,175,598 ns/iter (+/- 216,649) = 227 MB/s
test count_mbta_deserialize_borrowed_str ... bench: 2,790,077 ns/iter (+/- 196,238) = 259 MB/s
test count_mbta_deserialize_owned_bytes ... bench: 4,483,574 ns/iter (+/- 177,002) = 161 MB/s
test count_mbta_deserialize_owned_str ... bench: 4,736,782 ns/iter (+/- 325,092) = 152 MB/s
test count_mbta_iter_bytes ... bench: 2,164,051 ns/iter (+/- 159,461) = 334 MB/s
test count_mbta_iter_str ... bench: 2,621,796 ns/iter (+/- 125,179) = 275 MB/s
test count_mbta_read_bytes ... bench: 1,381,379 ns/iter (+/- 84,872) = 523 MB/s
test count_mbta_read_str ... bench: 1,878,870 ns/iter (+/- 44,253) = 385 MB/s
test count_nfl_deserialize_borrowed_bytes ... bench: 5,313,912 ns/iter (+/- 253,053) = 256 MB/s
test count_nfl_deserialize_borrowed_str ... bench: 5,107,121 ns/iter (+/- 126,465) = 267 MB/s
test count_nfl_deserialize_owned_bytes ... bench: 6,727,424 ns/iter (+/- 324,058) = 202 MB/s
test count_nfl_deserialize_owned_str ... bench: 7,405,465 ns/iter (+/- 346,507) = 184 MB/s
test count_nfl_iter_bytes ... bench: 2,815,658 ns/iter (+/- 163,841) = 484 MB/s
test count_nfl_iter_str ... bench: 3,829,417 ns/iter (+/- 197,676) = 356 MB/s
test count_nfl_read_bytes ... bench: 1,969,508 ns/iter (+/- 97,802) = 692 MB/s
test count_nfl_read_str ... bench: 2,938,572 ns/iter (+/- 178,509) = 464 MB/s
test count_pop_deserialize_borrowed_bytes ... bench: 7,291,579 ns/iter (+/- 343,678) = 131 MB/s
test count_pop_deserialize_borrowed_str ... bench: 6,500,214 ns/iter (+/- 287,920) = 147 MB/s
test count_pop_deserialize_owned_bytes ... bench: 9,908,448 ns/iter (+/- 1,776,508) = 96 MB/s
test count_pop_deserialize_owned_str ... bench: 9,489,004 ns/iter (+/- 924,449) = 100 MB/s
test count_pop_iter_bytes ... bench: 3,445,351 ns/iter (+/- 197,075) = 277 MB/s
test count_pop_iter_str ... bench: 4,742,196 ns/iter (+/- 268,200) = 201 MB/s
test count_pop_read_bytes ... bench: 2,241,069 ns/iter (+/- 98,426) = 426 MB/s
test count_pop_read_str ... bench: 3,376,103 ns/iter (+/- 111,540) = 283 MB/s
test write_nfl_bytes ... bench: 2,570,131 ns/iter (+/- 125,578) = 530 MB/s
test write_nfl_record ... bench: 3,810,261 ns/iter (+/- 208,791) = 358 MB/s
WITH TRIMMING
running 34 tests
test count_game_deserialize_borrowed_bytes ... bench: 14,871,074 ns/iter (+/- 8,879,654) = 174 MB/s
test count_game_deserialize_borrowed_str ... bench: 10,828,281 ns/iter (+/- 332,227) = 240 MB/s
test count_game_deserialize_owned_bytes ... bench: 28,947,220 ns/iter (+/- 1,429,056) = 89 MB/s
test count_game_deserialize_owned_str ... bench: 25,763,372 ns/iter (+/- 13,079,634) = 100 MB/s
test count_game_iter_bytes ... bench: 23,515,300 ns/iter (+/- 4,010,944) = 110 MB/s
test count_game_iter_str ... bench: 25,660,139 ns/iter (+/- 4,382,258) = 101 MB/s
test count_game_read_bytes ... bench: 15,615,794 ns/iter (+/- 3,708,337) = 166 MB/s
test count_game_read_str ... bench: 18,889,196 ns/iter (+/- 2,425,425) = 137 MB/s
test count_mbta_deserialize_borrowed_bytes ... bench: 3,645,697 ns/iter (+/- 525,302) = 198 MB/s
test count_mbta_deserialize_borrowed_str ... bench: 2,637,221 ns/iter (+/- 102,014) = 274 MB/s
test count_mbta_deserialize_owned_bytes ... bench: 5,090,745 ns/iter (+/- 1,118,342) = 142 MB/s
test count_mbta_deserialize_owned_str ... bench: 4,670,931 ns/iter (+/- 248,317) = 154 MB/s
test count_mbta_iter_bytes ... bench: 4,128,409 ns/iter (+/- 1,773,546) = 175 MB/s
test count_mbta_iter_str ... bench: 4,480,579 ns/iter (+/- 896,182) = 161 MB/s
test count_mbta_read_bytes ... bench: 3,005,615 ns/iter (+/- 361,331) = 240 MB/s
test count_mbta_read_str ... bench: 3,716,979 ns/iter (+/- 1,028,707) = 194 MB/s
test count_nfl_deserialize_borrowed_bytes ... bench: 6,183,663 ns/iter (+/- 621,598) = 220 MB/s
test count_nfl_deserialize_borrowed_str ... bench: 6,123,672 ns/iter (+/- 1,192,387) = 222 MB/s
test count_nfl_deserialize_owned_bytes ... bench: 7,660,694 ns/iter (+/- 825,011) = 178 MB/s
test count_nfl_deserialize_owned_str ... bench: 8,650,897 ns/iter (+/- 928,708) = 157 MB/s
test count_nfl_iter_bytes ... bench: 4,993,715 ns/iter (+/- 679,169) = 273 MB/s
test count_nfl_iter_str ... bench: 6,074,357 ns/iter (+/- 707,537) = 224 MB/s
test count_nfl_read_bytes ... bench: 3,838,782 ns/iter (+/- 601,554) = 355 MB/s
test count_nfl_read_str ... bench: 5,124,029 ns/iter (+/- 899,002) = 266 MB/s
test count_pop_deserialize_borrowed_bytes ... bench: 8,669,946 ns/iter (+/- 1,391,600) = 110 MB/s
test count_pop_deserialize_borrowed_str ... bench: 7,539,279 ns/iter (+/- 688,097) = 126 MB/s
test count_pop_deserialize_owned_bytes ... bench: 11,127,283 ns/iter (+/- 1,332,923) = 85 MB/s
test count_pop_deserialize_owned_str ... bench: 10,739,269 ns/iter (+/- 1,613,332) = 88 MB/s
test count_pop_iter_bytes ... bench: 6,353,101 ns/iter (+/- 836,575) = 150 MB/s
test count_pop_iter_str ... bench: 8,350,478 ns/iter (+/- 2,843,438) = 114 MB/s
test count_pop_read_bytes ... bench: 4,510,695 ns/iter (+/- 496,178) = 211 MB/s
test count_pop_read_str ... bench: 6,012,039 ns/iter (+/- 565,892) = 158 MB/s
test write_nfl_bytes ... bench: 2,856,336 ns/iter (+/- 395,365) = 477 MB/s
test write_nfl_record ... bench: 4,141,218 ns/iter (+/- 1,029,676) = 329 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment