Cuberite Forum

Full Version: PerfPages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This plugin uses too much ram.
Without: 60mb
With: more than 120mb

free -m
Server recently initialized

With PerfPages:
total used free
Mem: 128 127 0
-/+ buffers/cache: 123 4
Swap: 256 46 209

Without:
Mem: 128 40 87
-/+ buffers/cache: 38 89
Swap: 256 19 236
Is it maybe possible to handle the reloading using javascript? Reloading the whole page gets a little annoying since you go to the top of the page.
EDIT:
Or I could do it. What data would I need to update?
It could be possible, the graphing JS code supports updating the data live, although I'm not sure if it would like our (stupid) webserver that marks all data as "text/html" content type.
Even with ~ links? Maybe we can make a web page handler return 2 strings? One is for content, and the other string returns what type the data is.
Pages: 1 2