[Pkg-javascript-commits] [ltx] 418/469: fix benchmarks for benchmarkjs 2
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 13:03:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ltx.
commit 2213f628e958169b424480bb0cf7edffe15ff042
Author: Sonny Piers <sonny at fastmail.net>
Date: Mon Jan 4 19:52:05 2016 +0100
fix benchmarks for benchmarkjs 2
---
benchmarks/parse.js | 2 +-
benchmarks/write.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/benchmarks/parse.js b/benchmarks/parse.js
index 9317352..b9f1828 100644
--- a/benchmarks/parse.js
+++ b/benchmarks/parse.js
@@ -22,6 +22,6 @@ suite.on('cycle', function (event) {
console.log(event.target.toString())
})
.on('complete', function () {
- console.log('Fastest is ' + this.filter('fastest').pluck('name'))
+ console.log('Fastest is ' + this.filter('fastest').map('name'))
})
.run({'async': true})
diff --git a/benchmarks/write.js b/benchmarks/write.js
index c8e7ed9..30c6a2c 100644
--- a/benchmarks/write.js
+++ b/benchmarks/write.js
@@ -23,6 +23,6 @@ suite.on('cycle', function (event) {
console.log(event.target.toString())
})
.on('complete', function () {
- console.log('Fastest is ' + this.filter('fastest').pluck('name'))
+ console.log('Fastest is ' + this.filter('fastest').map('name'))
})
.run({'async': true})
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git
More information about the Pkg-javascript-commits
mailing list