Great new, Vitaly!  We use yaml for much of our configuration and a 
snappier app-startup-time can't hurt.

On Friday, January 18, 2013 2:34:23 AM UTC-5, Vitaly Puzrin wrote:
>
> I'd like to boast with rewritten js-yaml, that will be released soon. This 
> work was inspired by mongodb/redis drivers, wich do not require native code 
> anymore.
> Benchmark is here: https://github.com/dervus/js-yaml-benchmark
>
> Sample: application.yml (2055 characters)
>  > JS-YAML (old)         x 357 ops/sec ±3.60% (84 runs sampled)
>  > YAML.js               x 1,326 ops/sec ±0.46% (97 runs sampled)
>  > JS-YAML (new, unsafe) x 12,937 ops/sec ±0.58% (99 runs sampled)
>
>
> Sample: application_big.yml (223996 characters)
>  > JS-YAML (old)         x 1.71 ops/sec ±1.53% (7 runs sampled)
>  > YAML.js               x 12.68 ops/sec ±1.89% (35 runs sampled)
>  > JS-YAML (new, unsafe) x 133 ops/sec ±0.20% (86 runs sampled)
>
>
> Sample: application_verybig_nocomments.yml (277451 characters)
>  > JS-YAML (old)         x 0.10 ops/sec ±0.20% (4 runs sampled)
>  > YAML.js               x 2.61 ops/sec ±1.00% (10 runs sampled)
>  > JS-YAML (new, unsafe) x 45.27 ops/sec ±0.31% (59 runs sampled)
>
>
> 10mb/sec of pure data parce speed, on macbook air. That's certainly ok 
> without libyaml :)
>
> PS. yes, new release will include writer, at last.
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to