• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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