mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Make compact json format as default
Saves 20-50% of the output size.
This commit is contained in:
@@ -635,8 +635,8 @@ prof_log_stop(tsdn_t *tsdn) {
|
||||
prof_log_stop_buf, PROF_LOG_STOP_BUFSIZE - 1, 0};
|
||||
|
||||
/* Emit to json. */
|
||||
emitter_init(&emitter, emitter_output_json, buffered_write_cb,
|
||||
&prof_log_stop_buf_arg);
|
||||
emitter_init(&emitter, emitter_output_json_compact,
|
||||
buffered_write_cb, &prof_log_stop_buf_arg);
|
||||
|
||||
emitter_begin(&emitter);
|
||||
prof_log_emit_metadata(&emitter);
|
||||
|
||||
Reference in New Issue
Block a user