events.action: opened
events.author: yiwu-arbug
events.text: <!--
  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 -->
events.title: [WIP] coprocessor: Add more perf context counters
events.type: issue
events.action: created
events.author: yiwu-arbug
events.text: TODOs:
  * make the stats thread local
  * add option to set perf level
events.type: comment
events.action: created
events.author: breeswish
events.text: /bench +sysbench
events.type: comment
events.action: created
events.author: yiwu-arbug
events.text: 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.
events.type: comment
events.action: created
events.author: yiwu-arbug
events.text: /merge
events.type: comment
events.action: created
events.author: yiwu-arbug
events.text: /merge
events.type: comment
data_with_bots.bot: No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md
data_with_bots.meta: This message directly preceded comment from bot *sre-bot* by author *yiwu-arbug*:
data_with_bots.text: TODOs:
  * make the stats thread local
  * add option to set perf level
data_with_bots.bot: ```diff
  @@                               Benchmark Diff                               @@
  ================================================================================
  tidb: 8d35f17c17f34f10ca474eb4b5b86c9d611e0f62
  --- tikv: 7eb58846e48c4eb68830f39870e2a303f969df32
  +++ tikv: 544a065a047daab897a89038dbae31f37e2aa425
  pd: bf8aa5801cae7f435db979ee0c1be94a7e900e61
  ================================================================================
  oltp_read_write:
      * QPS: 29456.29 ± 0.17% (std=32.67) delta: -0.19% (p=0.053)
      * Latency p50: 87.89 ± 0.20% (std=0.11) delta: 0.19%
      * Latency p99: 153.02 ± 0.00% (std=0.00) delta: 1.82%
              
  oltp_update_index:
      * QPS: 17418.77 ± 0.36% (std=48.43) delta: -0.48% (p=0.079)
      * Latency p50: 7.35 ± 0.34% (std=0.02) delta: 0.48%
      * Latency p99: 14.73 ± 0.00% (std=0.00) delta: -0.00%
              
  oltp_point_select:
      * QPS: 98453.69 ± 0.20% (std=153.36) delta: -0.68% (p=0.002)
      * Latency p50: 1.30 ± 0.00% (std=0.00) delta: 0.78%
      * Latency p99: 4.57 ± 0.00% (std=0.00) delta: 0.00%
              
  oltp_update_non_index:
      * QPS: 23148.88 ± 0.39% (std=67.68) delta: -0.62% (p=0.031)
      * Latency p50: 5.53 ± 0.36% (std=0.02) delta: 0.73%
      * Latency p99: 11.04 ± 0.00% (std=0.00) delta: 0.00%
              
  ```
data_with_bots.meta: This message directly preceded comment from bot *sre-bot* by author *breeswish*:
data_with_bots.text: /bench +sysbench
data_with_bots.bot: /run-all-tests
data_with_bots.meta: This message directly preceded comment from bot *ti-srebot* by author *yiwu-arbug*:
data_with_bots.text: /merge
data_with_bots.bot: /run-all-tests
data_with_bots.meta: This message directly preceded comment from bot *ti-srebot* by author *yiwu-arbug*:
data_with_bots.text: /merge
data_without_bots.meta: This message directly preceded comment from bot *sre-bot* by author *yiwu-arbug*:
data_without_bots.text: TODOs:
  * make the stats thread local
  * add option to set perf level
data_without_bots.meta: This message directly preceded comment from bot *sre-bot* by author *breeswish*:
data_without_bots.text: /bench +sysbench
data_without_bots.meta: This message directly preceded comment from bot *ti-srebot* by author *yiwu-arbug*:
data_without_bots.text: /merge
data_without_bots.meta: This message directly preceded comment from bot *ti-srebot* by author *yiwu-arbug*:
data_without_bots.text: /merge