Closed Bug 619595 Opened 14 years ago Closed 6 months ago

Create threaded benchmark using existing benchmarks

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: paul.biggar, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

By creating a harness which runs each kraken/v8/sunspider benchmark is a separate thread, we should be able to exercise the threading code, which isn't otherwise tested that well. This would be useful to julian to run helgrind on.
You mean worker threads?
Yes, though it occurred to me to also do a pseudo-multi-single-threaded version (using events?) for GC testing.
Julian, how does this work for you? Run:

  js workers.js
This integrates the webworkers test with jit-test. This means you can use the standard flags like --jitflags, -s, -o, and the pattern matching syntax.

Julian, if this is useful to you, I can get review and get this into the tree.

Julian, have you a suppression file (or the helgrind version thereof) that can go with this?
Assignee: general → pbiggar
Status: NEW → ASSIGNED
Attachment #499236 - Flags: feedback?(jseward)
(In reply to comment #4)
> Created attachment 499236 [details] [diff] [review]
> Add --helgrind option to jit-test.py

I can't make this work.  It appears to require the existence of
js/src/jit-test/lib/workers.js, which is absent.
My bad. I had renamed the files, but I hadn't noticed because helgrind doesn't even get that far on my system.
Attachment #499236 - Attachment is obsolete: true
Attachment #499236 - Flags: feedback?(jseward)
+1 for benchmarking worker threads, there do seem to be some cases with perf issues, for example bug 621581, bug 653967, and bug 600443.
Assignee: paul.biggar → general
Assignee: general → nobody
No assignee, updating the status.
Status: ASSIGNED → NEW
No assignee, updating the status.
No assignee, updating the status.
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: