Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Possible benchmark performance regression and async benchmark segfaults #72

@Ingramz

Description

@Ingramz

I noticed an issue while trying to run benchmarks:
v5.1.2 with 898fc90 applied:

> .\node_modules\.bin\coffee .\benchmark\benchmark.coffee
oneline.js
sync:  149652 matches in 260ms
large.js
sync:  14594 matches in 69ms
async: 14594 matches in 795ms
> echo $LASTEXITCODE
0

v6.0.0 and up:

> .\node_modules\.bin\coffee .\benchmark\benchmark.coffee
OR (depending on version)
> node .\benchmark\benchmark.js
oneline.js
sync:  149652 matches in 21987ms
large.js
sync:  14594 matches in 243ms
> echo $LASTEXITCODE
-1073741819

Sometimes async gets displayed as well and everything looks "normal":

> .\node_modules\.bin\coffee .\benchmark\benchmark.coffee
oneline.js
sync:  149652 matches in 22129ms
large.js
sync:  14594 matches in 245ms
async: 14595 matches in 740ms
> echo $LASTEXITCODE
0

Same result on both OS X and Windows.

Whether the benchmark results are meaningful, I cannot tell, however I couldn't figure out what exactly causes the segfaults in async benchmark.

Pinging @alexandrudima @zcbenz @maxbrunsfeld

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions