|
|
|
@ -330,7 +330,9 @@ Compile.prototype.checkSource = function (source) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Compile.prototype.cacheStats = function () {
|
|
|
|
|
console.log("Cache stats: " + this.cacheHits + " hits, " + this.cacheMisses + " misses");
|
|
|
|
|
var pc = (100 * this.cacheHits) / (this.cacheMisses + this.cacheMisses);
|
|
|
|
|
console.log("Cache stats: " + this.cacheHits + " hits, " + this.cacheMisses + " misses (" + pc.toString(2) +
|
|
|
|
|
"%), LRU has " + this.cache.itemCount + " item(s) totalling " + this.cache.length + " bytes");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function compileHandler(compilers) {
|
|
|
|
|