diff --git a/README.md b/README.md index 90ce3df..3a45ec7 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ $ ./node_modules/.bin/webdriver-manager update #Installs chromedriver and seleni $ ./node_modules/.bin/protractor protractor.conf.js #runs benchmark spec and logs output ``` +Note: you can use a local build of benchpress by linking to it with +`npm link ${ANGULAR_DIR}/dist/build/benchpress_bundle` (assuming you've built it with `gulp benchpress.bundle`). + ## See The Code * Benchmark code: [public/tree.html](public/tree.html), [public/tree.js](public/tree.js) diff --git a/package.json b/package.json index 176cb23..e3641a5 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "author": "jeffbcross", "license": "Apache 2", "dependencies": { - "benchpress": "^2.0.0-alpha.25", + "benchpress": "2.0.0-alpha.53", "http-server": "^0.7.5", "protractor": "^2.5.0", "reflect-metadata": "^0.1.0" diff --git a/tree_benchmark.spec.js b/tree_benchmark.spec.js index 981e236..1083190 100644 --- a/tree_benchmark.spec.js +++ b/tree_benchmark.spec.js @@ -35,6 +35,8 @@ describe('deep tree baseline', function() { $('#createDom').click(); }, bindings: [ + benchpress.bind(benchpress.Options.REQUEST_COUNT).toValue(true), + benchpress.bind(benchpress.Options.RECEIVED_DATA).toValue(true), benchpress.bind(benchpress.Options.SAMPLE_DESCRIPTION).toValue({ depth: depth })