Code Monkey home page Code Monkey logo

perfpages's Introduction

PerfPages

Plugin for Cuberite that displays performance pages in the WebAdmin. The amount of RAM consumed by the server, number of loaded chunks, and per-world tick duration are displayed in graphs, using jQuery and Flot.

perfpages's People

Contributors

madmaxoft avatar bearbin avatar bitdeli-chef avatar mathiascode avatar

Stargazers

Gustavo Schip avatar  avatar NiLSPACE avatar Jonas Walther avatar  avatar  avatar

Watchers

James Cloos avatar NiLSPACE avatar  avatar Tiger Wang avatar Julian Laubstein avatar  avatar  avatar  avatar Tykhon avatar Jonas Walther avatar Lukas Pioch avatar  avatar

Forkers

bearbin

perfpages's Issues

Random Freezing Issues

The graph seems to get stuck after about an hour of leaving it open in the browser. It just stays "loading". It may coincide with world save although probably not. Is this a PerfPages issue or a MCServer issue to do with threading or something?

OS: Ubuntu 12.04
Browser: Chromium

Also:

When the restart command is issued, MCServer errors with:

[14:05:58] Preparing spawn area in world "world"...
[14:05:58] ERROR: Could not create thread "cWorldLoadProgress", !
[14:05:59] Lighting spawn area in world "world"...
[14:05:59] ERROR: Could not create thread "cWorldLightingProgress", !
[14:05:59] Starting deadlock detector...
[14:05:59] ERROR: Could not create thread "DeadlockDetect", !
[14:05:59] Starting server...
[14:05:59] ERROR: Could not create thread "ListenThread Client IPv4", !
[14:05:59] Starting InputThread...
[14:05:59] ERROR: Could not create thread!

Slow page rendering.

I've noticed very long ticks when the plugin is building pages, especially when a lot of data is being stored. I've thought of some things to speed it up:

  • Get rid of the string concatenations and convert to tables, which are squished at the end.
  • Take a slightly longer average, say average 10 ticks into one blob that is sent with the page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.