Browse Source

Removed hard dependencies in benchmarks, use devDeps

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
1d054a4537
  1. 2
      benchmark/implementations/commonmark-reference/index.js
  2. 3728
      benchmark/implementations/commonmark-reference/stmd.js
  3. 2
      benchmark/implementations/marked-0.3.2/index.js
  4. 1272
      benchmark/implementations/marked-0.3.2/marked.js
  5. 2
      package.json

2
benchmark/implementations/commonmark-reference/index.js

@ -1,6 +1,6 @@
'use strict' 'use strict'
var commonmark = require('./stmd'); var commonmark = require('commonmark');
var parser = new commonmark.DocParser(); var parser = new commonmark.DocParser();
var renderer = new commonmark.HtmlRenderer(); var renderer = new commonmark.HtmlRenderer();

3728
benchmark/implementations/commonmark-reference/stmd.js

File diff suppressed because it is too large

2
benchmark/implementations/marked-0.3.2/index.js

@ -1,6 +1,6 @@
'use strict' 'use strict'
var marked = new require('./marked'); var marked = new require('marked');
exports.run = function(data) { exports.run = function(data) {
return marked(data); return marked(data);

1272
benchmark/implementations/marked-0.3.2/marked.js

File diff suppressed because it is too large

2
package.json

@ -31,10 +31,12 @@
"autoprefixer-stylus": "^0.3.0", "autoprefixer-stylus": "^0.3.0",
"benchmark": "^1.0.0", "benchmark": "^1.0.0",
"browserify": "*", "browserify": "*",
"commonmark": "0.12.0",
"eslint": "0.9.1", "eslint": "0.9.1",
"eslint-plugin-nodeca": "^1.0.0", "eslint-plugin-nodeca": "^1.0.0",
"istanbul": "*", "istanbul": "*",
"jade": "^1.6.0", "jade": "^1.6.0",
"marked": "0.3.2",
"stylus": "^0.49.1", "stylus": "^0.49.1",
"mocha": "*", "mocha": "*",
"uglify-js": "*" "uglify-js": "*"

Loading…
Cancel
Save