in reply to Re: fastest file processing Config file format
in thread fastest file processing Config file format

You seem to change file names between creating/testing the YAML parser (delme.yaml vs delme.cfg). Also, some of the C-based yaml parsers (for instance, YAML::Syck) are a lot faster than plain YAML. (removed Config::Fast since I don't have it installed):

Rate YAML XML YAML_Syck slurp YAML 17.1/s -- -83% -97% -98% XML 103/s 505% -- -84% -88% YAML_Syck 636/s 3629% 516% -- -28% slurp 888/s 5107% 760% 40% --

Good Day,
    Dean

Replies are listed 'Best First'.
Re^3: fastest file processing Config file format
by GrandFather (Saint) on Sep 29, 2009 at 19:05 UTC

    The .cfg was a carry over from previous iterations of the benchmark code where I only tested YAML. The file contents are the same as those generated for delme.yaml so the benchmark results are the same.

    I picked YAML first in the expectation that it would be the slowest of the bunch figuring that if you could meet the run time specification with YAML you could do it with anything.


    True laziness is hard work