Page MenuHomePhabricator

Fix the Benchmark for the WASMedge-based Evaluators and Enable in CI
Closed, ResolvedPublic

Description

Description

This benchmark fails mysteriously!

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • fix the benchmark (not clear why it fails)
  • enable it in gitlab-ci.yaml

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist

Details

TitleReferenceAuthorSource BranchDest Branch
Turn benchmark tests back on and use new Avro versionrepos/abstract-wiki/wikifunctions/function-evaluator!200ecarggrace/T347901/fix-benchmark-testsmain
Customize query in GitLab

Event Timeline

Jdforrester-WMF moved this task from To triage to Backlog on the Abstract Wikipedia team board.
Jdforrester-WMF renamed this task from Fix the Benchmark for the JS WASM Evaluator and Enable in CI to Fix the Benchmark for the WASMedge-based Evaluators and Enable in CI .Nov 1 2023, 4:06 PM

Observations so far:

  • _mocha test/benchmarks/javascriptEvaluatorBenchmarks.js takes forever (10 minutes in, it's still going⏳)
  • _mocha test/benchmarks/pythonEvaluatorBenchmarks.js immediately returns:
(node:48369) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)


  0 passing (0ms)

Qs:

  • When did this begin? Or how long has this been an issue? Likely when this ticket was created...
  • (Could it have started when I consolidated all of those tests?) Likely no as those tasks were merged in January, long after this ticket was created.
  • I think I've noticed that non-wasm tests still get triggered/run when I run the script to only run wasm tests: check if this is true or if was only in Py || Js

Change #1021507 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-04-03-210033 to 2024-04-18-150843

https://gerrit.wikimedia.org/r/1021507

Change #1021507 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-04-03-210033 to 2024-04-18-150843

https://gerrit.wikimedia.org/r/1021507