Skip to content

Instantly share code, notes, and snippets.

@sgrif
Created April 18, 2016 00:14
Show Gist options
  • Save sgrif/bc2e1bb6bd98c101684748f3d50a7b2c to your computer and use it in GitHub Desktop.
Save sgrif/bc2e1bb6bd98c101684748f3d50a7b2c to your computer and use it in GitHub Desktop.

Benchmarks comparing v0.6.0 with master

PostgreSQL

                                                          v0.6.0 ns/iter  master ns/iter    diff ns/iter   diff %
bench_selecting_0_rows_with_medium_complex_query          223,674         119,463               -104,211  -46.59%
bench_selecting_0_rows_with_trivial_query                 77,281          51,273                 -26,008  -33.65%
bench_selecting_10k_rows_with_medium_complex_query        57,555,386      55,233,745          -2,321,641   -4.03%
bench_selecting_10k_rows_with_medium_complex_query_boxed  58,937,340      54,434,717          -4,502,623   -7.64%
bench_selecting_10k_rows_with_trivial_query               4,739,991       4,559,375             -180,616   -3.81%
bench_selecting_10k_rows_with_trivial_query_boxed         4,610,084       4,466,172             -143,912   -3.12%

SQLite

                                                          v0.6.0 ns/iter  master ns/iter    diff ns/iter   diff %
bench_selecting_0_rows_with_medium_complex_query          43,570          14,686                 -28,884  -66.29%
bench_selecting_0_rows_with_trivial_query                 6,302           1,190                   -5,112  -81.12%
bench_selecting_10k_rows_with_medium_complex_query        21,387,665      18,648,857          -2,738,808  -12.81%
bench_selecting_10k_rows_with_medium_complex_query_boxed  20,674,598      19,187,898          -1,486,700   -7.19%
bench_selecting_10k_rows_with_trivial_query               3,061,909       2,752,491             -309,418  -10.11%
bench_selecting_10k_rows_with_trivial_query_boxed         3,071,096       2,885,451             -185,645   -6.04%
@anp
Copy link

anp commented Apr 18, 2016

Yowza!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment