JamieMason / JamieMason/peach.js

Benchmark loop unwinding without function rewriting

Open
#9 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I assume for the moment that there has to be some kind of overhead in creating/destroying the function each time and instantiating it's variables etc, but add to the tests a case where instead of extracting a function's source, just repeat calls to the function x times.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the repository's existing benchmark tests and the code path that extracts a function's source. Add a benchmark case that repeats calls to the function x times without extracting its source, then compare its results with the existing benchmark cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.