Skip to content

Commit

Permalink
yaml bench
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Llamas committed Oct 8, 2013
1 parent f1a1880 commit 9fb4b9b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 30 deletions.
53 changes: 26 additions & 27 deletions benchmark/parse/yaml
@@ -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
6 changes: 3 additions & 3 deletions benchmark/parse/yaml-vs-properties.js
Expand Up @@ -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.