diff --git a/.gitignore b/.gitignore index 716193d..e9ae303 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ .idea/ perfix.iml target/ -hostkey.ser \ No newline at end of file +ui/node_modules \ No newline at end of file diff --git a/README.md b/README.md index 2fa677f..ce868fc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Pretty basic profiling tool for JVM's * Execution time is measured in nanoseconds * No manual instrumentation necessary using loadtime bytecode manipulation (javassist). * No special jdbc configuration necessary (ie no wrapped jdbc driver). -* The agent is also the server (unlike commercial tooling). This way there is no overhead in interprocess communication. +* The agent is also the server (ui backend). # Usage * Agent that instruments loaded classes: -javaagent:/perfix.jar @@ -18,7 +18,8 @@ Pretty basic profiling tool for JVM's
* #invocations
* total execution time for the method in nanoseconds (this is also the sorting order)
* average time in nanoseconds per method (= total/#invocations) -* The http server starts on port 2048 by default. Use -Dperfix.port=... to adjust. +* The backend starts on port 2048 by default. Use -Dperfix.port=... to adjust. +* Start the UI using npm install followed by npm start. the UI starts on port 3000 by default. # roadmap @@ -26,6 +27,7 @@ Pretty basic profiling tool for JVM's * Finish jdbc query logging (CallableStatement) * Implement an actual call stack the way commercial tools work * Ability to dynamically turn off metrics to minimize cpu and memory overhead (when response time is below a set treshold) +* extend the user interface # DISCLAIMER: This has only been tested on oracle java8 in spring-boot using tomcat web-container