Skip to content

Instantly share code, notes, and snippets.

@subvertallchris
Created September 22, 2014 18:57
Show Gist options
  • Save subvertallchris/d40f233b58eeb0912e7e to your computer and use it in GitHub Desktop.
Save subvertallchris/d40f233b58eeb0912e7e to your computer and use it in GitHub Desktop.
ORIGINAL
2.1.2 :002 > Benchmark.ips do |x|
2.1.2 :003 > x.config(:time => 5, :warmup => 2)
2.1.2 :004?> x.time = 10
2.1.2 :005?> x.warmup = 2
2.1.2 :006?> x.report("query") { Student.limit(900).each { |s| } }
2.1.2 :007?> end
Calculating -------------------------------------
query CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 33ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 38ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 32ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 32ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 41ms MATCH (result:`Student`) RETURN result LIMIT 900
1 i/100ms
-------------------------------------------------
query CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 51ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 31ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 41ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 44ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 32ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 38ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 90ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 31ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 37ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 91ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 31ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 37ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 92ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 32ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 38ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 93ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 38ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 93ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
4.9 (±0.0%) i/s - 49 in 10.118848s
MODIFIED
2.1.2 :010 > Benchmark.ips do |x|
2.1.2 :011 > x.config(:time => 5, :warmup => 2)
2.1.2 :012?> x.time = 10
2.1.2 :013?> x.warmup = 2
2.1.2 :014?> x.report("query") { Student.limit(900).each { |s| } }
2.1.2 :015?> end
Calculating -------------------------------------
query CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 47ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 31ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 57ms MATCH (result:`Student`) RETURN result LIMIT 900
1 i/100ms
-------------------------------------------------
query CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 66ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 23ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 39ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 109ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 28ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 32ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 30ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 49ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 24ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 26ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 29ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 51ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 71ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 25ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
CYPHER 27ms MATCH (result:`Student`) RETURN result LIMIT 900
5.1 (±19.8%) i/s - 50 in 10.024157s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment