Closed Bug 585586 Opened 14 years ago Closed 14 years ago

Clean up the v8 earley-boyer benchmark

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Assigned: lhansen)

Details

(Whiteboard: has-patch)

Attachments

(1 file)

This benchmark was never enabled (probably because of bug #464134) and needs a
fair amount of TLC in order to run.

See bug #585564 for the v8.5 earley-boyer benchmark, which also needed fixing.  The v8 version is probably a little more work to fix.

There is a line in the testconfig.txt that blocks the execution of the v8 earley-boyer benchmark on account of the present bug.
Attached patch PatchSplinter Review
Not too bad after all.  This patch does not contain changes to testconfig.txt.
Attachment #464035 - Flags: review?(edwsmith)
Whiteboard: has-patch
Comment on attachment 464035 [details] [diff] [review]
Patch

Nothing obviously wrong, but curious: where in the old code is the "else" half of this conditional in the new code:

    var reg = (re instanceof RegExp) ? re (re) : sc_pregexp(re);
                                                 ^^^^^^^^^^^^^^^

?
Attachment #464035 - Flags: review?(edwsmith) → review+
(In reply to comment #2)
> Comment on attachment 464035 [details] [diff] [review]
> Patch
> 
> Nothing obviously wrong, but curious: where in the old code is the "else" half
> of this conditional in the new code:
> 
>     var reg = (re instanceof RegExp) ? re (re) : sc_pregexp(re);
>                                                  ^^^^^^^^^^^^^^^
> 
> ?

Good point, I'll ponder that.
tamarin-redux changeset:   5000:6f67eed0358e.

Followup cleanup work: bug #585881.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: