summaryrefslogtreecommitdiff
path: root/tools/blog/node_modules/ejs/benchmark.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/blog/node_modules/ejs/benchmark.js')
-rw-r--r--tools/blog/node_modules/ejs/benchmark.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/blog/node_modules/ejs/benchmark.js b/tools/blog/node_modules/ejs/benchmark.js
deleted file mode 100644
index 7b267e1603..0000000000
--- a/tools/blog/node_modules/ejs/benchmark.js
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-var ejs = require('./lib/ejs'),
- str = '<% if (foo) { %><p><%= foo %></p><% } %>',
- times = 50000;
-
-console.log('rendering ' + times + ' times');
-
-var start = new Date;
-while (times--) {
- ejs.render(str, { cache: true, filename: 'test', locals: { foo: 'bar' }});
-}
-
-console.log('took ' + (new Date - start) + 'ms'); \ No newline at end of file