aboutsummaryrefslogtreecommitdiff
path: root/Examples/js_stat_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/js_stat_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
downloadsrc-055173dba4a263acf10325a49eebf82915369ed2.tar.gz
src-055173dba4a263acf10325a49eebf82915369ed2.zip
Add the remaining scripts from the DTraceToolkit, version 0.99, to thevendor/dtracetoolkit/dtracetoolkit-20120512vendor/dtracetoolkit
Notes
Notes: svn path=/vendor/dtracetoolkit/dist/; revision=235368 svn path=/vendor/dtracetoolkit/dtracetoolkit-20120512/; revision=235374; tag=vendor/dtracetoolkit/dtracetoolkit-20120512
Diffstat (limited to 'Examples/js_stat_example.txt')
-rw-r--r--Examples/js_stat_example.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/Examples/js_stat_example.txt b/Examples/js_stat_example.txt
new file mode 100644
index 000000000000..b658b4f05422
--- /dev/null
+++ b/Examples/js_stat_example.txt
@@ -0,0 +1,35 @@
+The following are examples of running js_stat.d
+
+Here is the result after running the program Code/JavaScript/func_clock.html.
+
+# js_stat.d
+TIME EXEC/s FUNC/s OBJNEW/s OBJFRE/s
+2007 Sep 23 23:04:59 1 9 1 0
+2007 Sep 23 23:05:00 1 9 1 0
+2007 Sep 23 23:05:01 1 9 1 0
+2007 Sep 23 23:05:02 1 6 1 0
+2007 Sep 23 23:05:03 0 3 0 0
+2007 Sep 23 23:05:04 1 9 1 0
+2007 Sep 23 23:05:05 1 9 1 0
+2007 Sep 23 23:05:06 1 9 1 0
+^C
+
+We can see that at 2007 Sep 23 23:05:02 there was one JavaScript program
+executed, six functions called, one new object created and no objects freed.
+
+
+Here is the result after running the program Code/JavaScript/func_slow.html.
+This also includes browser JavaScript.
+
+# js_stat.d
+TIME EXEC/s FUNC/s OBJNEW/s OBJFRE/s
+2007 Sep 23 23:05:48 1 124 41 0
+2007 Sep 23 23:05:49 1 29 19 0
+2007 Sep 23 23:05:50 1 29 25 0
+2007 Sep 23 23:05:51 1 670 497 0
+2007 Sep 23 23:05:52 0 62 11 0
+2007 Sep 23 23:05:53 0 0 6 617
+2007 Sep 23 23:05:54 0 0 0 0
+2007 Sep 23 23:05:55 0 0 0 0
+^C
+