benchmarks/nesting_speed.rb in pastel-0.5.3 vs benchmarks/nesting_speed.rb in pastel-0.6.0
- old
+ new
@@ -20,7 +20,22 @@
end
bench.compare!
end
+# version 0.6.0
+
+# Calculating -------------------------------------
+# regular nesting 1282 i/100ms
+# block nesting 1013 i/100ms
+# -------------------------------------------------
+# regular nesting 13881.5 (±16.3%) i/s - 67946 in 5.043220s
+# block nesting 11411.6 (±25.4%) i/s - 53689 in 5.088911s
+#
+# Comparison:
+# regular nesting: 13881.5 i/s
+# block nesting: 11411.6 i/s - 1.22x slower
+
+# version 0.5.3
+
# regular nesting: 2800/s
# block nesting: 2600/s