Skip to content

MishaVeldhoen/ks-table-py-benchmark

 
 

Repository files navigation

Python table format Kaitai Struct parsing benchmark

See https://gitter.im/kaitai_struct/Lobby?at=6058ce092beb1e1da3c30cfa

Install Kaitai Struct runtime library for Python:

python3 -m pip install kaitaistruct

Generate test file sample.bin:

python3 ./generate_sample.py

Generate Python parsing code from .ksy files:

kaitai-struct-compiler -- --verbose file -d compiled -t python *.ksy

Run the benchmark:

python3 ./index.py

About

Python table format Kaitai Struct parsing benchmark

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.6%
  • Kaitai Struct 43.4%