Skip to content

Commit

Permalink
Move benchmark to separated directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 24, 2017
1 parent 8f15fb4 commit 2a26cb1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -6,6 +6,7 @@ npm-debug.log
yarn-error.log
yarn.lock

benchmark/
coverage/
test/
appveyor.yml
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions test/perf-benchmark.js → benchmark/run.js 100644 → 100755
@@ -1,21 +1,23 @@
#!/usr/bin/env node

var browserslist = require('..');
var fs = require('fs');
var path = require('path');

var cases = [
{
file: path.join(__dirname, '/perf/one/app/css/hello.css'),
n: 3000,
file: path.join(__dirname, 'one/app/css/hello.css'),
n: 5000,
exists: true
},
{
file: path.join(__dirname, '/perf/two/app/js/hello.js'),
n: 3000,
file: path.join(__dirname, 'two/app/js/hello.js'),
n: 5000,
exists: true
},
{
file: path.join(__dirname, '/perf/three/app/js/hello.js'),
n: 3000,
file: path.join(__dirname, 'three/app/js/hello.js'),
n: 5000,
exists: false
}
];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2a26cb1

Please sign in to comment.