Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Fix spelling in comments. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris-van-der-Wel authored and jdalton committed Jun 14, 2015
1 parent e256177 commit e34c768
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/** Detect free variable `require`. */
var freeRequire = typeof require == 'function' && require;

/** Used to assign each benchmark an incrimented id. */
/** Used to assign each benchmark an incremented id. */
var counter = 0;

/** Detect the popular CommonJS extension `module.exports`. */
Expand Down Expand Up @@ -1440,7 +1440,7 @@
function getZ(u) {
return (u - ((size1 * size2) / 2)) / sqrt((size1 * size2 * (size1 + size2 + 1)) / 12);
}
// Reject the null hyphothesis the two samples come from the
// Reject the null hypothesis the two samples come from the
// same population (i.e. have the same median) if...
if (size1 + size2 > 30) {
// ...the z-stat is greater than 1.96 or less than -1.96
Expand Down Expand Up @@ -2085,7 +2085,7 @@
if (!clocked && (divisor = divisors[clone.cycles]) != null) {
count = floor(4e6 / divisor);
}
// Calculate how many more iterations it will take to achive the `minTime`.
// Calculate how many more iterations it will take to achieve the `minTime`.
if (count <= clone.count) {
count += Math.ceil((minTime - clocked) / period);
}
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
ok(bench.fn && bench.name == 'foo' && bench.id == 'bar');
});

test('supports passing an empy string for the "fn" options property', function() {
test('supports passing an empty string for the "fn" options property', function() {
var bench = Benchmark({ 'fn': '' }).run();
ok(!bench.error);
});
Expand Down Expand Up @@ -831,7 +831,7 @@
QUnit.module('Benchmark.Suite#abort');

(function() {
test('igores abort calls when the suite isn\'t running', function() {
test('ignores abort calls when the suite isn\'t running', function() {
var fired = false;
var suite = Benchmark.Suite('suite', {
'onAbort': function() { fired = true; }
Expand Down

0 comments on commit e34c768

Please sign in to comment.