diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-06-02 12:59:44 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-06-02 12:59:44 -0400 |
| commit | e2cf1a5a451f002b743215bc65f61618612de61c (patch) | |
| tree | d363f58a84db15697fc986ec3efab3935029b87c /examples/atoms/Makefile | |
| parent | 08f48ab9d31b3a7872604be8d7b7c8c9eacb019b (diff) | |
A pathological example for profiling purposes. Use 'make test'.
Diffstat (limited to 'examples/atoms/Makefile')
| -rw-r--r-- | examples/atoms/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/atoms/Makefile b/examples/atoms/Makefile new file mode 100644 index 0000000..c192a37 --- /dev/null +++ b/examples/atoms/Makefile @@ -0,0 +1,12 @@ +atoms: + go build + +test: atoms + ./atoms --requests 500000 --cpu 1 \ + --cpuprof cpu1.prof --memprof mem1.prof > atoms1.info 2>&1 + ./atoms --requests 500000 --cpu 2 \ + --cpuprof cpu2.prof --memprof mem2.prof > atoms2.info 2>&1 + ./atoms --requests 500000 --cpu 3 \ + --cpuprof cpu3.prof --memprof mem3.prof > atoms3.info 2>&1 + ./atoms --requests 500000 --cpu 6 \ + --cpuprof cpu6.prof --memprof mem6.prof > atoms6.info 2>&1 |
