Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
inputs/ | 23-Nov-2023 | - | 26,014 | 20,446 | ||
README.rst | D | 23-Nov-2023 | 706 | 23 | 12 | |
benchmark-parse.py | D | 23-Nov-2023 | 1.7 KiB | 59 | 38 |
README.rst
1Basic benchmarking of parsing speed with pycparser. 2 3The ``inputs`` directory contains preprocessed files taken from open source 4projects. 5 6``redis.c.pp`` taken from Redis. Generated with: 7 8.. sourcecode:: 9 10 gcc -nostdinc -D'__attribute__(x)=' -E -Isrc/ -Ideps/hiredis -Ideps/linenoise -I$HOME/eli/pycparser/utils/fake_libc_include src/redis-cli.c 11 12``tccgen.c.pp`` taken from TCC. Generated with: 13 14.. sourcecode:: 15 16 gcc -nostdinc -D'__attribute__(x)=' -E -I. -I$HOME/eli/pycparser/utils/fake_libc_include tccgen.c 17 18``sqlite-btree.c.pp`` taken from SQLite. Generated with: 19 20.. sourcecode:: 21 22 gcc -nostdinc -D'__attribute__(x)=' -E -I. -Isrc/ -I$HOME/eli/pycparser/utils/fake_libc_include src/btree.c 23