diff --git a/htroot/PerformanceGraph.java b/htroot/PerformanceGraph.java index c84b44e25..7e1f34d7b 100644 --- a/htroot/PerformanceGraph.java +++ b/htroot/PerformanceGraph.java @@ -44,13 +44,17 @@ public class PerformanceGraph { final int width = post.getInt("width", 660); final int height = post.getInt("height", 240); final boolean showMemory = !post.containsKey("nomem"); + final boolean showPeers = !post.containsKey("nopeers"); long t = System.currentTimeMillis(); if (t - indexSizeTime > 10000) { indeSizeCache = sb.index.fulltext().collectionSize(); indexSizeTime = t; } - RasterPlotter graph = ProfilingGraph.performanceGraph(width, height, indeSizeCache + " URLS / " + sb.index.RWICount() + " WORDS IN INDEX / " + sb.index.RWIBufferCount() + " WORDS IN CACHE", showMemory); + RasterPlotter graph = ProfilingGraph.performanceGraph( + width, height, + indeSizeCache + " URLS / " + sb.index.RWICount() + " WORDS IN INDEX / " + sb.index.RWIBufferCount() + " WORDS IN CACHE", + showMemory, showPeers); return graph; } diff --git a/htroot/PerformanceMemory_p.html b/htroot/PerformanceMemory_p.html index 163d8a43f..c1ef9995e 100644 --- a/htroot/PerformanceMemory_p.html +++ b/htroot/PerformanceMemory_p.html @@ -9,7 +9,7 @@