Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4504044
bench_loop_string.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
231 B
Referenced Files
None
Subscribers
None
bench_loop_string.js
View Options
const
obj
=
{
a
:
42
};
const
iterations
=
200000
;
let
start
=
Date
.
now
();
let
result
=
0
;
for
(
let
i
=
0
;
i
<
iterations
;
i
++
)
{
result
+=
obj
.
a
;
}
console
.
log
(
`loop string access:
${
Date
.
now
()
-
start
}
ms (result:
${
result
}
)`
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:41 AM (8 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
518187
Default Alt Text
bench_loop_string.js (231 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment