Feature Request / Java / PerfContext / Pretty print PerfContext in the Java API

79 views
Skip to first unread message

Alexey Vinogradov

unread,
Mar 12, 2024, 12:12:14 AMMar 12
to rocksdb
Hello!

So, the C++ API has a method to print PerfContext as a human-readable output: https://github.com/facebook/rocksdb/blob/179afd5bef7a043e10c9af322cf620ce11a7322f/monitoring/perf_context.cc#L264-L291

public String toString(boolean excludeZeroCounters) {
// call to the JNI method which proxy to the C++ API
}

Alexey Vinogradov

unread,
Mar 24, 2024, 9:25:37 AMMar 24
to rocksdb

I've created a PR for this: https://github.com/facebook/rocksdb/pull/12473


вторник, 12 марта 2024 г. в 11:12:14 UTC+7, Alexey Vinogradov:

Alexey Vinogradov

unread,
Apr 9, 2024, 1:53:46 AMApr 9
to rocksdb
Merged

воскресенье, 24 марта 2024 г. в 20:25:37 UTC+7, Alexey Vinogradov:
Reply all
Reply to author
Forward
0 new messages