Closed Haiyang-Sun closed 5 years ago
The changes include an extra argument in the literal callback showing the type of literal, and an optional filter to instrument only given literal types.
The added feature is documented here: https://github.com/Haiyang-Sun/nodeprof.js/blob/literal-filter/src/ch.usi.inf.nodeprof/js/analysis/trivial/emptyTemplate.js#L30-L41
And tested here: https://github.com/Haiyang-Sun/nodeprof.js/tree/literal-filter/src/ch.usi.inf.nodeprof/js/analysis/literal-filter
The added feature is fully compatible with the existing analyses written with the previous version.
The changes include an extra argument in the literal callback showing the type of literal, and an optional filter to instrument only given literal types.
The added feature is documented here: https://github.com/Haiyang-Sun/nodeprof.js/blob/literal-filter/src/ch.usi.inf.nodeprof/js/analysis/trivial/emptyTemplate.js#L30-L41
And tested here: https://github.com/Haiyang-Sun/nodeprof.js/tree/literal-filter/src/ch.usi.inf.nodeprof/js/analysis/literal-filter
The added feature is fully compatible with the existing analyses written with the previous version.