Code Monkey home page Code Monkey logo

jug-profiling-talk's Introduction

JUG Karlsruhe Talk

Notes and scripts for my JUG Karlsruhe talk on Java profiling [pdf] [pptx] [recording]

Interesting talks

I collected a list of interesting talks on profiling in a YouTube playlist

Interesting blogs

The following are interesting blogs on Java profiling and performance:

Interesting people to follow on Twitter

Interesting blog posts and slides

demo.py

Wrapper around JFR and async-profiler ($ASYNC_PROFILER should point to repo with built async-profiler). Works only for JDK11+.

Record a simple JFR trace via

./demo.py jfr -f file.jfr -- -cp example/target/example-1.0.jar EventFilterApp example/samples/large.jfr ".*GC.*"

and a simple async-profiler trace via

./demo.py async -s -f file.jfr -- -cp example/target/example-1.0.jar EventFilterApp example/samples/large.jfr ".*GC.*"

produce a flamegraph via

./demo.py async -f file.html -t flamegraph -- -cp example/target/example-1.0.jar EventFilterApp example/samples/large.jfr ".*GC.*"

Requires the click package (install it via pip3 install click)

JFR config files

  • cpu_profiling.jfc: CPU profiling and nothing more
  • cpu_and_mem_profiling.jfc: CPU and memory profiling and nothing more

Where to find the tools

JMC can be found from different vendors, for example

The prototypical version of the IntellIJ plugin can be found on GitHub.

async-profiler can be found on GitHub too.

License

CC-BY-SA 3.0

jug-profiling-talk's People

Contributors

parttimenerd avatar

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.