more improvements to speed test code in src/valuetype
more improvements to speed test code in src/valuetype

multigraph/js-multigraph,multigraph/js-multigraph,henhouse/js-multigraph,henhouse/js-multigraph,multigraph/js-multigraph,henhouse/js-multigraph