DoneJS version of QuickJS
204ee9d17b
There is an option to define how many samples to use with the definition of compile time macro "PROFILE_CALLS_SAMPLE" the default value is 10. The code is guarded by a compile time macro "CONFIG_PROFILE_CALLS", to build execute "make CONFIG_PROFILE_CALLS=1". When using the added option "-p" we can repeat it up to 3 times: - "-p" -> Only update calls count and omit functions with 0 calls - "-p -p" -> Update calls count and sampled time_spent and omit functions with 0 calls - "-p -p -p" -> Like the above but showing functions with 0 calls. The output format: =[ code_line call_count acumulated_time_spent average_time_spent function_name ] [454 2 1 6 xfillArr] |
||
---|---|---|
doc | ||
examples | ||
tests | ||
Changelog | ||
cutils.c | ||
cutils.h | ||
libbf.c | ||
libbf.h | ||
libregexp-opcode.h | ||
libregexp.c | ||
libregexp.h | ||
libunicode-table.h | ||
libunicode.c | ||
libunicode.h | ||
LICENSE | ||
list.h | ||
Makefile | ||
qjs.c | ||
qjsc.c | ||
qjscalc.js | ||
quickjs-atom.h | ||
quickjs-libc.c | ||
quickjs-libc.h | ||
quickjs-opcode.h | ||
quickjs.c | ||
quickjs.h | ||
readme.txt | ||
release.sh | ||
repl.js | ||
run-test262.c | ||
test262.conf | ||
test262_errors.txt | ||
test262o.conf | ||
test262o_errors.txt | ||
TODO | ||
unicode_download.sh | ||
unicode_gen.c | ||
unicode_gen_def.h | ||
VERSION |
The main documentation is in doc/quickjs.pdf or doc/quickjs.html.