Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: consolidate dump actions #210

Merged
merged 4 commits into from
Nov 1, 2022

Conversation

legendecas
Copy link
Member

  1. 合并 DumpData,使用 std::unique_ptr 明确 owner 语义、避免需要手动释放;
  2. 使用 detached 线程,合理回收 profiling watchdog thread.

@legendecas legendecas marked this pull request as draft November 1, 2022 05:28
@legendecas legendecas changed the title refactor: proper watchdog thread refactor: consolidate dump actions Nov 1, 2022
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #210 (6d0aefd) into master (289770f) will not change coverage.
The diff coverage is n/a.

❗ Current head 6d0aefd differs from pull request most recent head bc73f8a. Consider uploading reports for the commit bc73f8a to get more accurate results

@@            Coverage Diff            @@
##            master      #210   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          296       296           
=========================================
  Hits           296       296           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@legendecas legendecas marked this pull request as ready for review November 1, 2022 07:35
@legendecas legendecas merged commit 840df2a into X-Profiler:master Nov 1, 2022
@legendecas legendecas deleted the watchdog branch November 1, 2022 15:42
@hyj1991 hyj1991 mentioned this pull request Dec 11, 2022
hyj1991 added a commit that referenced this pull request Dec 11, 2022
Commits:

  - [bfe59c1] feat: support http profiling (#215)
  - [85065b8] refactor: config (#214)
  - [ea2e7f8] fix: avoid copying constant strings (#212)
  - [5b157fe] fix: remove unused dump action field (#211)
  - [840df2a] refactor: consolidate dump actions (#210)
  - [289770f] refactor: js bindings (#209)

PR-URL: #216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants