Skip to content

Run benchmark test suite nightly #1568

Closed

Description

@Trott

Similar to the way we run internet nightly or maybe made part of node-daily-master, the benchmark tests need to be incorporated into a once-a-day run somehow. They've been moved out of the main test suite.

Refs: nodejs/node#24265

Activity

  1. refack commented on Nov 11, 2018

    @refack
    Contributor
  2. refack commented on Nov 11, 2018

    @refack
    Contributor

    There is an issue with the napi benchmark, since the current job doesn't trigger it's build.

  3. self-assigned this
    on Nov 11, 2018
  4. added
    ci-change
    on Nov 11, 2018
  5. Trott commented on Nov 11, 2018

    @Trott
    MemberAuthor

    There is an issue with the napi benchmark, since the current job doesn't trigger it's build.

    Oh, because it doesn't run make test-benchmark, it just directly calls the benchmark tests with tools/test.py. Hmmm.... any recommendations for how to fix?

  6. refack commented on Nov 11, 2018

    @refack
    Contributor

    either restore https://github.com/nodejs/node/pull/24265/files#diff-b67911656ef5d18c4ae36cb6741b7965L458
    or put an if (benchmark in CI_JS_SUITES) (pseudocode) around it

  7. refack commented on Nov 11, 2018

    @refack
    Contributor

    or put a guard in benchmark/napi/function_args/index.js that urges you to run make bench-addons-build

  8. joyeecheung commented on Nov 11, 2018

    @joyeecheung
    Member

    or put a guard in benchmark/napi/function_args/index.js that urges you to run make bench-addons-build

    @refack I think I've attempted to do that a while back but I couldn't make child_process play along with node-gyp arguments..(but limited that to make may work?)

  9. Trott commented on Nov 11, 2018

    @Trott
    MemberAuthor

    I like restoring the one line in https://github.com/nodejs/node/pull/24265/files#diff-b67911656ef5d18c4ae36cb6741b7965L458. While it compiles a file unnecessarily in most cases, it's quick.

  10. joyeecheung commented on Nov 11, 2018

    @joyeecheung
    Member

    Ah, I think I've managed to get it to work in JS this time around..(don't really know why I didn't, maybe I was too sleep-deprived) (considering there is tools/build-addons.js there is no reason it doesn't work I guess)

  11. added a commit that references this issue on Nov 11, 2018
  12. Trott commented on Nov 11, 2018

    @Trott
    MemberAuthor

    Ah, I think I've managed to get it to work in JS this time around..(don't really know why I didn't, maybe I was too sleep-deprived) (considering there is tools/build-addons.js there is no reason it doesn't work I guess)

    Oh, I just opened nodejs/node#24307. Feel free to close it if you have a better solution!

  13. refack commented on Nov 11, 2018

    @refack
    Contributor

    I think nodejs/node#24307 is the simplest solution. We can flip it again as part of nodejs/node#24309.

  14. added a commit that references this issue on Nov 12, 2018
  15. added a commit that references this issue on Nov 14, 2018
  16. added a commit that references this issue on Nov 15, 2018
  17. Trott commented on Dec 7, 2018

    @Trott
    MemberAuthor

    I believe this is resolved.

  18. added a commit that references this issue on Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ci-changeci-job-request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions