Open
Bug 1536122
Opened 5 years ago
Updated 2 years ago
Some Array functions are slow ([], splice, shift)
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: linuxcbon, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.15 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
http://dromaeo.com/?dromaeo
Run it in Firefox and google chrome
Actual results:
Google chrome 73.0.3683.75 : Array Construction, splice: 2792.80runs/s ±0.46%
Firefox 65.0.1 (64 bits) : Array Construction, splice: 574.74runs/s ±0.61%
Example of test function (see attachement) :
test("Array Construction, splice", function(){
ret = [];
for ( var j = 0; j < i; j++ )
ret.splice(0,0,j);
});
Expected results:
Array functions faster in firefox.
Component: Untriaged → JavaScript Engine
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•