Permalink
Browse files

yaml bench

  • Loading branch information...
1 parent f1a1880 commit 9fb4b9be44b2e5e6f0351a6623d172ca7268e332 Gabriel Llamas committed Oct 8, 2013
Showing with 29 additions and 30 deletions.
  1. +26 −27 benchmark/parse/yaml
  2. +3 −3 benchmark/parse/yaml-vs-properties.js
View
@@ -1,27 +1,26 @@
----
- strings:
- s1: v
- s2: v
- numbers:
- n1: 1
- n2: 1
- n3: 123.123
- n4: 123.123
- arrays:
- a1:
- - "1"
- - 1
- - 123.123
- a2:
- - "1"
- - 1
- - 123.123
- objects:
- o1:
- a: "1"
- b: 1
- c: 123.123
- o2:
- a: "1"
- b: 1
- c: 123.123
+strings:
+ s1: v
+ s2: v
+numbers:
+ n1: 1
+ n2: 1
+ n3: 123.123
+ n4: 123.123
+arrays:
+ a1:
+ - "1"
+ - 1
+ - 123.123
+ a2:
+ - "1"
+ - 1
+ - 123.123
+objects:
+ o1:
+ a: "1"
+ b: 1
+ c: 123.123
+ o2:
+ a: "1"
+ b: 1
+ c: 123.123
@@ -34,9 +34,9 @@ Total time: ~6000ms (6s 0ms)
Higher is better (ops/sec)
yaml
- 14,565 ± 1.3%
+ 13,418 ± 0.6%
properties
- 23,653 ± 0.2%
+ 24,224 ± 0.2%
-Elapsed time: 6147ms (6s 147ms)
+Elapsed time: 6090ms (6s 90ms)
*/

0 comments on commit 9fb4b9b

Please sign in to comment.