Skip to content

Commit

Permalink
Remove unused variables in hash benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchest committed Aug 5, 2014
1 parent fb394da commit 92a6d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/benchmark/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ function sign_open_benchmark() {

function crypto_hash_benchmark() {
log.start('Benchmarking crypto_hash (1024 bytes)');
var m = new Uint8Array(1024), out = new Uint8Array(64),
start, elapsed, num = 255;
var m = new Uint8Array(1024), out = new Uint8Array(64);
for (i = 0; i < m.length; i++) m[i] = i & 255;
benchmark(function(){
nacl.lowlevel.crypto_hash(out, m, m.length);
Expand Down

0 comments on commit 92a6d99

Please sign in to comment.