Skip to content

ctfhacker/random_python_rust_config_bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking Python and Rust json/config options

Generate test data

python3 gen.py

Run benchmarks

./run.sh

Results

--- PYTHON data_65536 512 ITERS ---
JSON:    11.24s (21.96ms/iter)
MANUAL:  13.37s (26.10ms/iter)
MANUAL2: 49.54s (96.76ms/iter)
--- RUST data_65536 512 ITERS ---
JSON:    7.50s (14.47265625ms/iter)
MANUAL:  7.50s (14.654296875ms/iter)

About

Random testing of json vs manual config parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published