Inlining (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Inlining
const add = (a, b) => {
    return a + b;
};
for (let i = 0; i < 100000; i++) {
    add(i, i * 2);
}
ready
Inlining Optimization
for (let i = 0; i < 100000; i++) {
    i + i * 2;
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.