Skip to content

Instantly share code, notes, and snippets.

@amcintyre99
Last active June 2, 2017 16:41
Show Gist options
  • Save amcintyre99/8e6e7412d98562346f419efc8b0c008d to your computer and use it in GitHub Desktop.
Save amcintyre99/8e6e7412d98562346f419efc8b0c008d to your computer and use it in GitHub Desktop.
andrew@sherlock:~/dma/odbc_ibm$ node -v
v6.10.3
andrew@sherlock:~/dma/odbc_ibm$ node db2-bench-prepare-executeNonQuery.js
100000 queries issued in 38.269 seconds, 2613/sec : Prepare - ExecuteNonQuery
connection closed
andrew@sherlock:~/dma/odbc_ibm$ sysctl kernel.kptr_restrict
kernel.kptr_restrict = 0
andrew@sherlock:~/dma/odbc_ibm$ perf record -g node --perf-basic-prof db2-bench-prepare-executeNonQuery.js
100000 queries issued in 45.922 seconds, 2177/sec : Prepare - ExecuteNonQuery
connection closed
[ perf record: Woken up 208 times to write data ]
[ perf record: Captured and wrote 52.538 MB perf.data (307287 samples) ]
andrew@sherlock:~/dma/odbc_ibm$ perf report | gzip > perf.gz
andrew@sherlock:~/dma/odbc_ibm$ ls -rtl
total 56968
-rw-r--r-- 1 andrew andrew 1037 Jul 2 2016 commons.js
-rw-r--r-- 1 andrew andrew 826 Jul 2 2016 db2-test-prepare.js
-rw-r--r-- 1 andrew andrew 1044 May 30 23:51 db2-bench-prepare-executeNonQuery.js
drwxrwxr-x 98 andrew andrew 4096 Jun 2 11:25 node_modules
-rw-rw-r-- 1 andrew andrew 25 Jun 2 12:39 isolate-0x3a58280-v8.log
-rw------- 1 andrew andrew 55095132 Jun 2 12:39 perf.data
-rw-rw-r-- 1 andrew andrew 3213858 Jun 2 12:40 perf.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment