Skip to content

Instantly share code, notes, and snippets.

View tlrx's full-sized avatar
🏠
Working from home

Tanguy Leroux tlrx

🏠
Working from home
  • Elastic
  • Greater Nantes Area, France
View GitHub Profile
@tlrx
tlrx / gist:2061dff599c0b476130182ad1bfa4a03
Created June 29, 2017 13:37
JFR options with custom profile
-XX:+UnlockDiagnosticVMOptions
-XX:+UnlockCommercialFeatures
-XX:+DebugNonSafepoints
-XX:+FlightRecorder
-XX:FlightRecorderOptions=disk=true,maxage=0s,maxsize=0,dumponexit=true,dumponexitpath=/tmp/benchmarks/node-test.jfr
-XX:StartFlightRecording=defaultrecording=true,settings=es-memory-profiling
### Keybase proof
I hereby claim:
* I am tlrx on github.
* I am tlrx (https://keybase.io/tlrx) on keybase.
* I have a public key ASBun04BeOwSd_vvarzNNTSQoWABXrvCvV6hJLLJTc9d8wo
To claim this, I am signing this object:
OS
Ubuntu 16.04
CPU
Intel Core i7-6850K (3.6 GHz)
RAM
Corsair Vengeance LPX Series Low Profile 32 Go (2x 16 Go) RAM DDR4 PC4-24000 3000 MHz CL15
Motherboard
{
"title":"My awesome book",
"pages":456,
"price":27.99,
"timestamp":1428582942867,
"default":null,
"tags":[
"elasticsearch",
"java"
],
How to read these numbers:
------
- nb documents: the number of documents built by the XContentBuilder
- nb fields: the number of fields created for each doc
- nb fields written: the number of fields finally written. The 0 value corresponds to the XContentBuilder with no filters specified: it is the current behavior when no "_path" parameter is specified.
- % fields written: the ratio of fields finally written. The 0,00 % value means corresponds to the XContentBuilder with no filters specified: it is the current behavior when no "_path" parameter is specified. The 100% value means that the filters retain 100% of the fields, 5% means that only 5% of the doc is written, etc
- rate (docs/sec): number of docs written per second
- avg size: average size in bytes of each doc
------
How to read these numbers:
------
- nb documents: the number of documents built by the XContentBuilder
- nb fields: the number of fields created for each doc
- nb fields written: the number of fields finally written. The 0 value corresponds to the XContentBuilder with no filters specified: it is the current behavior when no "_path" parameter is specified.
- % fields written: the ratio of fields finally written. The 0,00 % value means corresponds to the XContentBuilder with no filters specified: it is the current behavior when no "_path" parameter is specified. The 100% value means that the filters retain 100% of the fields, 5% means that only 5% of the doc is written, etc
- rate (docs/sec): number of docs written per second
- avg size: average size in bytes of each doc
------