See this example live
Runs benchmarks and generates the results in a table.
Setup benchmarks to run in an array of objects with two properties:
name
: a title for the table column of resultsrun
: a function that is called to run the benchmark and returns a valueStart the benchmarks by passing the table element where the results are to be placed and an array of benchmarks to run.
Here's another example where this benchmarking tool is used: Simple Molecules
source: gist.github.com/gists/1364172
Modified http://mbostock.github.com/d3/d3.js to a secure url
Modified http://mbostock.github.com/d3/d3.time.js to a secure url
https://mbostock.github.com/d3/d3.js
https://mbostock.github.com/d3/d3.time.js