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

time: lazy init TimerShared in TimerEntry #6512

Merged
merged 25 commits into from May 3, 2024

Commits on Apr 23, 2024

  1. This commit is part of reducing timeout performance overhead.

        See tokio-rs#6504
    
        Below are relevant benchmark results of this PR on m1 mac:
        single_thread_timeout   time:   [21.869 ns 21.987 ns 22.135 ns]
                                change: [-3.4429% -2.0709% -0.8759%] (p = 0.00 < 0.05)
                                Change within noise threshold.
        Found 7 outliers among 100 measurements (7.00%)
          3 (3.00%) high mild
          4 (4.00%) high severe
    
        multi_thread_timeout-8  time:   [4.4835 ns 4.6138 ns 4.7614 ns]
                                change: [-4.3554% +0.1643% +4.5114%] (p = 0.95 > 0.05)
                                No change in performance detected.
        Found 9 outliers among 100 measurements (9.00%)
          8 (8.00%) high mild
          1 (1.00%) high severe
    
        Below are relevant benchmark results of current version on m1 mac:
    
        single_thread_timeout   time:   [40.227 ns 40.416 ns 40.691 ns]
                                change: [+81.321% +82.817% +84.121%] (p = 0.00 < 0.05)
                                Performance has regressed.
        Found 14 outliers among 100 measurements (14.00%)
          3 (3.00%) high mild
          11 (11.00%) high severe
    
        multi_thread_timeout-8  time:   [183.16 ns 186.02 ns 188.21 ns]
                                change: [+3765.0% +3880.4% +3987.4%] (p = 0.00 < 0.05)
                                Performance has regressed.
        Found 10 outliers among 100 measurements (10.00%)
          4 (4.00%) low severe
          6 (6.00%) low mild
    wathenjiang committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    bde0742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0eb1d3e View commit details
    Browse the repository at this point in the history
  3. rustfmt

    wathenjiang committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    a4e1231 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    cb54a1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8874b2 View commit details
    Browse the repository at this point in the history
  3. update comments

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    9dd1e33 View commit details
    Browse the repository at this point in the history
  4. make TimerEntry lazy init

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    2d3efb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ae3de2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef3630b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d4a95a3 View commit details
    Browse the repository at this point in the history
  8. fix: new me variable

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    f6fa09b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b1fa990 View commit details
    Browse the repository at this point in the history
  10. fix: ci

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    8c0c2e8 View commit details
    Browse the repository at this point in the history
  11. fix: ownership

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    a9a11e9 View commit details
    Browse the repository at this point in the history
  12. fix: fmt

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    ef657d2 View commit details
    Browse the repository at this point in the history
  13. fix: lifetime issue

    wathenjiang committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    a446e44 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. rebase

    wathenjiang committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    3a89c45 View commit details
    Browse the repository at this point in the history
  2. rm unnecessary code

    wathenjiang committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    c47b739 View commit details
    Browse the repository at this point in the history
  3. add is_inner_init

    wathenjiang committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    8e40ec4 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    d328298 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    07953b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    373044d View commit details
    Browse the repository at this point in the history
  3. fix ci

    wathenjiang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    0129c92 View commit details
    Browse the repository at this point in the history
  4. fix typo

    wathenjiang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    b492723 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    8af2a97 View commit details
    Browse the repository at this point in the history