opened
yiwu-arbug
username_0
<!--
Thank you for contributing to TiKV!

If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document.

If you're unsure about anything, just ask; somebody should be along to answer within a day or two.

PR Title Format:
1. module [, module2, module3]: what's changed
2. *: what's changed
-->

### What problem does this PR solve?

Issue Number: close #xxx <!-- REMOVE this line if no issue to close -->

Problem Summary:

### What is changed and how it works?

Proposal: [xxx](url) <!-- REMOVE this line if not applicable -->

What's Changed:

### Related changes

- PR to update `pingcap/docs`/`pingcap/docs-cn`:
- PR to update `pingcap/tidb-ansible`:
- Need to cherry-pick to the release branch

### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code

Side effects

- Performance regression
    - Consumes more CPU
    - Consumes more MEM
- Breaking backward compatibility

### Release note <!-- bugfixes or new feature need a release note -->
[WIP] coprocessor: Add more perf context counters
issue
created
yiwu-arbug
username_0
TODOs:
* make the stats thread local
* add option to set perf level
comment
created
breeswish
username_1
/bench +sysbench
comment
created
yiwu-arbug
username_0
I don't plan to add them to Grafana, since there are too many of them and I'm not sure which ones are useful. For now just leave them as a debug tool when needed.
comment
created
yiwu-arbug
username_0
/merge
comment
created
yiwu-arbug
username_0
/merge
comment