From 8ee0ea98997eaa967f862da029cc04e5ae18b90e Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Sat, 2 Jun 2012 12:59:44 -0400 Subject: A pathological example for profiling purposes. Use 'make test'. --- nexgb/examples/atoms/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nexgb/examples/atoms/Makefile (limited to 'nexgb/examples/atoms/Makefile') diff --git a/nexgb/examples/atoms/Makefile b/nexgb/examples/atoms/Makefile new file mode 100644 index 0000000..c192a37 --- /dev/null +++ b/nexgb/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 -- cgit v1.2.3-54-g00ecf