[Pkg-javascript-commits] [node-leveldown] 111/492: improved benchmarks
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.
commit 7ae020e7c15f9f0e5f95460498bcfe674de4d50a
Author: Rod Vagg <rod at vagg.org>
Date: Sun Dec 16 12:47:35 2012 +1100
improved benchmarks
---
.gitignore | 3 ++-
test/benchmarks/engines/index.js | 3 +++
test/benchmarks/tests/index.js | 28 ++++++++++++++++------------
3 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/.gitignore b/.gitignore
index 3f95dec..a13fc55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ node_modules/
build/
libleveldb.so
libleveldb.a
-test-data/
\ No newline at end of file
+test-data/
+_benchdb_*
\ No newline at end of file
diff --git a/test/benchmarks/engines/index.js b/test/benchmarks/engines/index.js
index a390f8d..fa5bd6a 100644
--- a/test/benchmarks/engines/index.js
+++ b/test/benchmarks/engines/index.js
@@ -4,5 +4,8 @@ module.exports.LevelUP.color = 'green'
module.exports['LevelUP (release)'] = require('./levelup-release')
module.exports['LevelUP (release)'].color = 'yellow'
+module.exports['LevelUP (no Snappy)'] = require('./levelup-nosnappy')
+module.exports['LevelUP (no Snappy)'].color = 'magenta'
+
module.exports.Leveled = require('./leveled')
module.exports.Leveled.color = 'cyan'
\ No newline at end of file
diff --git a/test/benchmarks/tests/index.js b/test/benchmarks/tests/index.js
index ffef66d..66805d3 100644
--- a/test/benchmarks/tests/index.js
+++ b/test/benchmarks/tests/index.js
@@ -4,26 +4,30 @@
module.exports = {
'put(int, string) x 1000': {
- 'LevelUP' : require('./put_int_string_x1000_levelup')
- , 'LevelUP (release)' : require('./put_int_string_x1000_levelup')
- , 'Leveled' : require('./put_int_string_x1000_leveled')
+ 'LevelUP' : require('./put_int_string_x1000_levelup')
+ , 'LevelUP (release)' : require('./put_int_string_x1000_levelup')
+ , 'LevelUP (no Snappy)' : require('./put_int_string_x1000_levelup')
+ , 'Leveled' : require('./put_int_string_x1000_leveled')
}
, 'put(int, string) x 100,000': {
- 'LevelUP' : require('./put_int_string_x100000_levelup')
- , 'LevelUP (release)' : require('./put_int_string_x100000_levelup')
- , 'Leveled' : require('./put_int_string_x100000_leveled')
+ 'LevelUP' : require('./put_int_string_x100000_levelup')
+ , 'LevelUP (release)' : require('./put_int_string_x100000_levelup')
+ , 'LevelUP (no Snappy)' : require('./put_int_string_x100000_levelup')
+ , 'Leveled' : require('./put_int_string_x100000_leveled')
}
, 'batch(int, string) x 1000': {
- 'LevelUP' : require('./batch_int_string_x1000_levelup')
- , 'LevelUP (release)' : require('./batch_int_string_x1000_levelup')
- , 'Leveled' : require('./batch_int_string_x1000_leveled')
+ 'LevelUP' : require('./batch_int_string_x1000_levelup')
+ , 'LevelUP (release)' : require('./batch_int_string_x1000_levelup')
+ , 'LevelUP (no Snappy)' : require('./batch_int_string_x1000_levelup')
+ , 'Leveled' : require('./batch_int_string_x1000_leveled')
}
, 'batch(int, string) x 100,000': {
- 'LevelUP' : require('./batch_int_string_x100000_levelup')
- , 'LevelUP (release)' : require('./batch_int_string_x100000_levelup')
- , 'Leveled' : require('./batch_int_string_x100000_leveled')
+ 'LevelUP' : require('./batch_int_string_x100000_levelup')
+ , 'LevelUP (release)' : require('./batch_int_string_x100000_levelup')
+ , 'LevelUP (no Snappy)' : require('./batch_int_string_x100000_levelup')
+ , 'Leveled' : require('./batch_int_string_x100000_leveled')
}
}
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git
More information about the Pkg-javascript-commits
mailing list