Use the non-minified chess.js; it is easier to profile.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Nov 2016 21:33:47 +0000 (22:33 +0100)
committerMagne Mæhre <magne@pannekake.samfundet.no>
Sun, 20 Nov 2016 21:33:47 +0000 (22:33 +0100)
server/hash-lookup.js

index 032b87b..dd0b0c3 100644 (file)
@@ -1,5 +1,5 @@
 var grpc = require('grpc');
-var Chess = require('../www/js/chess.min.js').Chess;
+var Chess = require('../www/js/chess.js').Chess;
 
 var PROTO_PATH = __dirname + '/hashprobe.proto';
 var hashprobe_proto = grpc.load(PROTO_PATH).hashprobe;