Skip to content

Instantly share code, notes, and snippets.

@yuroyoro
Created March 11, 2015 14:19
Show Gist options
  • Select an option

  • Save yuroyoro/2efca870711fa5047a3b to your computer and use it in GitHub Desktop.

Select an option

Save yuroyoro/2efca870711fa5047a3b to your computer and use it in GitHub Desktop.
================================================================================
3.2.21 - sqlite3
================================================================================
Calculating -------------------------------------
limit 100 has_many 13.000 i/100ms
limit 100 has_many_through
5.000 i/100ms
limit 100 double has_many_through
3.000 i/100ms
limit 1000 has_many 1.000 i/100ms
limit 1000 has_many_through
1.000 i/100ms
limit 1000 double has_many_through
1.000 i/100ms
-------------------------------------------------
limit 100 has_many 139.206 (± 2.2%) i/s - 702.000
limit 100 has_many_through
58.424 (± 5.1%) i/s - 295.000
limit 100 double has_many_through
34.451 (± 5.8%) i/s - 174.000
limit 1000 has_many 16.863 (± 0.0%) i/s - 85.000
limit 1000 has_many_through
6.880 (± 0.0%) i/s - 35.000
limit 1000 double has_many_through
3.863 (± 0.0%) i/s - 20.000
================================================================================
4.2.0 - sqlite3
================================================================================
Calculating -------------------------------------
limit 100 has_many 11.000 i/100ms
limit 100 has_many_through
1.000 i/100ms
limit 100 double has_many_through
1.000 i/100ms
limit 1000 has_many 1.000 i/100ms
limit 1000 has_many_through
1.000 i/100ms
limit 1000 double has_many_through
1.000 i/100ms
-------------------------------------------------
limit 100 has_many 116.164 (± 5.2%) i/s - 583.000
limit 100 has_many_through
16.783 (± 6.0%) i/s - 83.000
limit 100 double has_many_through
9.730 (±10.3%) i/s - 49.000
limit 1000 has_many 13.957 (± 7.2%) i/s - 70.000
limit 1000 has_many_through
1.764 (± 0.0%) i/s - 9.000
limit 1000 double has_many_through
0.973 (± 0.0%) i/s - 5.000
================================================================================
4.2.1.rc3(After) - sqlite3
================================================================================
Calculating -------------------------------------
limit 100 has_many 10.000 i/100ms
limit 100 has_many_through
3.000 i/100ms
limit 100 double has_many_through
2.000 i/100ms
limit 1000 has_many 1.000 i/100ms
limit 1000 has_many_through
1.000 i/100ms
limit 1000 double has_many_through
1.000 i/100ms
-------------------------------------------------
limit 100 has_many 103.642 (± 1.0%) i/s - 520.000
limit 100 has_many_through
35.563 (± 0.0%) i/s - 180.000
limit 100 double has_many_through
21.010 (± 0.0%) i/s - 106.000
limit 1000 has_many 11.845 (± 0.0%) i/s - 60.000
limit 1000 has_many_through
4.673 (± 0.0%) i/s - 24.000
limit 1000 double has_many_through
2.675 (± 0.0%) i/s - 14.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment