Permalink
Browse files

Phantom script is no longer needed

  • Loading branch information...
1 parent e9d4e22 commit 5ca0001a55db3ea876c5f62052eb19b1cd640154 @derek committed Mar 21, 2013
Showing with 0 additions and 31 deletions.
  1. +0 −31 scripts/benchmark.phantom
View
@@ -1,31 +0,0 @@
-#!/usr/bin/env phantomjs
-
-var page = require('webpage').create(),
- system = require('system'),
- t;
-
-if (system.args.length === 1) {
- console.log('No input path specified');
- console.log('Usage: elmo <some path>');
- phantom.exit();
-}
-
-// t = Date.now();
-path = system.args[1];
-
-page.open(path, function (status) {
- if (status !== 'success') {
- console.log('FAIL to load the address');
- }
- else {
- // t = Date.now() - t;
- // console.log('Path: ' + path);
- // console.log('Page load time: ' + t + 'ms');
- // console.log('---');
- }
-});
-
-page.onConsoleMessage = function(msg) {
- console.log(msg);
- phantom.exit();
-};

0 comments on commit 5ca0001

Please sign in to comment.