aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/ejs/benchmark.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-27 19:25:40 -0400
committerTeddy Wing2013-04-27 19:25:56 -0400
commit512e8b2da71de59132a29e80d7359ac843d62f07 (patch)
tree3f5024a4f75072eda45713dcd429a0b58bf969b9 /node_modules/ejs/benchmark.js
parent4b14305623d5ddc59f435fc5e35c54c0def1d392 (diff)
downloadWho-am-I-512e8b2da71de59132a29e80d7359ac843d62f07.tar.bz2
Untrack ./node_modules
Sorry, my bad for not ignoring it initially.
Diffstat (limited to 'node_modules/ejs/benchmark.js')
-rw-r--r--node_modules/ejs/benchmark.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/ejs/benchmark.js b/node_modules/ejs/benchmark.js
deleted file mode 100644
index 7b267e1..0000000
--- a/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