Skip to content

Releases: grafana/jfr-parser

Improved memory & cpu consumption

11 Aug 05:01
e11aad6
Compare
Choose a tag to compare

Improved memory & cpu consumption #22 (@zdyj3170101136 )

The API for parser changed. Now we parse one event at a time and if you need all the events, you need to copy it yourself.

chunks, err := parser.Parse(reader)
for _, chunk := range chunks {
    for chunk.Next() {
        chunk.Event // it may be reused, copy it if you need the event after another call to Next
    }
    err = chunk.Err()
    if err != nil {
        panic(err)
    }
}

Add cpool preprocessor parse option

12 Jun 01:50
3073e81
Compare
Choose a tag to compare

Improve constant pool resolving speed

25 May 09:24
3228ecf
Compare
Choose a tag to compare
  • Improve constant pool resolving speed (#16)

v0.5.0

13 May 05:30
6ac8ddf
Compare
Choose a tag to compare

Features:

  • Support for ContextId

v0.4.0

07 Apr 14:30
d2cc8a4
Compare
Choose a tag to compare

Changes

Bug Fixes

  • read compressed integers properly (#9) (6bfb268)
  • resolve constants eagerly to avoid infinite loops. (#10) (1423737)
  • support multiple checkpoint events. (#11) (8042bcd)
  • correct field name in initial system property event. (#12) (e50fbc5)
  • return errors that are not being returned. (#13) (e3cd14f)

Features

  • improve support for types and event types. (#14) (d2cc8a4)

v0.3.0

05 Apr 15:21
f73efae
Compare
Choose a tag to compare

Changes

Bug Fixes

  • correct execution sample field name (#7) (3c6759c)

Features

  • add support for event types for lock profiling. (#8) (f73efae)