Skip to content

Lack of warmup in calc test #7

Closed

Description

@terminalsin

Issue
Calc test is consistent due to a lack of warmup

Solution
Add a call for each method before it is iterated. Then, iterate the methods as done previously. Then repeat the class 10x times, and only then take their mean and median and measure those. This would be a much more accurate way at measuring performance respective to the obfuscator.

Activity

  1. huzpsb commented on Aug 6, 2023

    @huzpsb
    Owner

    Hmm...
    [s]Can I say this check is made alike this simply because I want to count the warm-up time in? With things like MyJ2C+VMP, the warm up time can be up to 200ms per class and I found that annoying.[/s]
    Maybe I would add a seperate flag for warm-up and modify this check accoardingly. Thank you for your suggestion.

  2. terminalsin commented on Aug 6, 2023

    @terminalsin
    Author

    Hmm... [s]Can I say this check is made alike this simply because I want to count the warm-up time in? With things like MyJ2C+VMP, the warm up time can be up to 200ms per class and I found that annoying.[/s] Maybe I would add a seperate flag for warm-up and modify this check accoardingly. Thank you for your suggestion.

    Yeah but once executed and cached, JIT assists and makes execution flawless. Performance should measuring consistent calls in an application, not one time loading schemes.

  3. pinned this issue on Aug 8, 2023
  4. added
    wontfix
    on Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions