Add gmonster-{1,2} perf testcases.
authorDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:46:31 +0000 (15:46 -0700)
committerDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:46:31 +0000 (15:46 -0700)
commit7fecd1b400ba3ba0ae9efba3662e1f75b519860f
tree2b788c17fe20f3b337bc892a31c7b1a5b8ae8671
parent6eab34f3dc27a571071d8c56146c2ffda133f454
Add gmonster-{1,2} perf testcases.

These testcases are mocks of real programs.
GDB doesn't care what the programs do, they just have to look
and/or behave like the real program.
These testcases exercise gdb when debugging really large programs.
E.g., gmonster-1 has 10,000 CUs, and gmonster-2 has 1000 shared libs
(which is actually a little small, 5000 would be more accurate).

gdb/testsuite/ChangeLog:

* gdb.perf/lib/perftest/utils.py: New file.
* gdb.perf/gm-hello.cc: New file.
* gdb.perf/gm-pervasive-typedef.cc: New file.
* gdb.perf/gm-pervasive-typedef.h: New file.
* gdb.perf/gm-std.cc: New file.
* gdb.perf/gm-std.h: New file.
* gdb.perf/gm-use-cerr.cc: New file.
* gdb.perf/gm-utils.h: New file.
* gdb.perf/gmonster-null-lookup.py: New file.
* gdb.perf/gmonster-pervasive-typedef.py: New file.
* gdb.perf/gmonster-print-cerr.py: New file.
* gdb.perf/gmonster-ptype-string.py: New file.
* gdb.perf/gmonster-runto-main.py: New file.
* gdb.perf/gmonster-select-file.py: New file.
* gdb.perf/gmonster1-null-lookup.exp: New file.
* gdb.perf/gmonster1-pervasive-typedef.exp: New file.
* gdb.perf/gmonster1-print-cerr.exp: New file.
* gdb.perf/gmonster1-ptype-string.exp: New file.
* gdb.perf/gmonster1-runto-main.exp: New file.
* gdb.perf/gmonster1-select-file.exp: New file.
* gdb.perf/gmonster1.cc: New file.
* gdb.perf/gmonster1.exp: New file.
* gdb.perf/gmonster2-null-lookup.exp: New file.
* gdb.perf/gmonster2-pervasive-typedef.exp: New file.
* gdb.perf/gmonster2-print-cerr.exp: New file.
* gdb.perf/gmonster2-ptype-string.exp: New file.
* gdb.perf/gmonster2-runto-main.exp: New file.
* gdb.perf/gmonster2-select-file.exp: New file.
* gdb.perf/gmonster2.cc: New file.
* gdb.perf/gmonster2.exp: New file.
30 files changed:
gdb/testsuite/gdb.perf/gm-hello.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-pervasive-typedef.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-pervasive-typedef.h [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-std.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-std.h [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-use-cerr.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gm-utils.h [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-null-lookup.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-pervasive-typedef.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-print-cerr.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-ptype-string.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-runto-main.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster-select-file.py [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-null-lookup.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-pervasive-typedef.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-print-cerr.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-ptype-string.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-runto-main.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1-select-file.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster1.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-null-lookup.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-pervasive-typedef.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-print-cerr.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-ptype-string.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-runto-main.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2-select-file.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2.cc [new file with mode: 0644]
gdb/testsuite/gdb.perf/gmonster2.exp [new file with mode: 0644]
gdb/testsuite/gdb.perf/lib/perftest/utils.py [new file with mode: 0644]