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

test: Updated benchmark test results to output result files #2350

Merged
merged 12 commits into from
Jul 15, 2024

Commits on Jul 12, 2024

  1. fix: Added json-specific benchmark job, stripped several callbacks fr…

    …om run-bench, promisified the child-exit listener for JSON printing benchmark tests, temporarily bumped complexity threshold
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6d4c041 View commit details
    Browse the repository at this point in the history
  2. test: Changed onChildExit throw to a log, to avoid blocking subsequen…

    …t tests
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    25ce4e2 View commit details
    Browse the repository at this point in the history
  3. test: Consolidated printer classes, added file output for JSON, added…

    … counter
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4e4ffc7 View commit details
    Browse the repository at this point in the history
  4. chore: fixed the http benchmark test

    bizob2828 authored and mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    22162dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e33e947 View commit details
    Browse the repository at this point in the history
  6. chore: fixed promises tests to run promise and not rely on callback t…

    …hat is not wired up any longer
    bizob2828 authored and mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    74ff93d View commit details
    Browse the repository at this point in the history
  7. chore: fixed datastore shim tests to return promise and invoke resolv…

    …e method as cb in the test data store
    bizob2828 authored and mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2fda637 View commit details
    Browse the repository at this point in the history
  8. test: Compacting error messaging in benchmark.js, added try/catch in …

    …run-bench to handle non-json returns
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2c141ce View commit details
    Browse the repository at this point in the history
  9. test: Fixed compare-bench-results.js by awaiting file read. Added log…

    …ging of error, if a test is missing from one file.
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f1304e2 View commit details
    Browse the repository at this point in the history
  10. chore: Removed cognitive-complexity exception for run-bench.js

    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d1f2197 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. test: Added automatic md file generation to benchmark comparison.

    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    6c0f836 View commit details
    Browse the repository at this point in the history
  2. test: Updated benchmark tests and comparisons to be written to benchm…

    …ark_results directory, removed extra NPM script
    
    Signed-off-by: mrickard <maurice@mauricerickard.com>
    mrickard committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    4c3621a View commit details
    Browse the repository at this point in the history