Skip to content

eliaskosunen/scnlib-spirit-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scnlib-spirit-benchmark

Benchmarking scnlib against Boost.Spirit x3, as prompted by issue #9.

Results

Reading a single integer

spirit::x3 scn::scan scn::parse_integer <iostream> sscanf
14 44 18 261 94

Reading a list of whitespace-separated integers

List length spirit::x3 scnlib scnlib (naive) <iostream>
16 905 1432 1447 1901
64 1732 3784 3826 5465
256 4950 12888 13101 19438

Reading a list of comma-separated integers

List length spirit::x3 scnlib scnlib (naive) <iostream>
16 940 1418 1486 2026
64 1785 3780 4022 5917
256 5026 12993 13882 21295

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published