wevm / wevm/prool

any way to move the initialisation of instance beforehand ?

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
141
Forks
26
Avg merge
2d 6h
Merged PRs (30d)
6

Description

I am currently using prool with node instance that require a boot time of 2 to 6 seconds and I thus need to set a timeout of this magnitude for my tests

Wondering if there was option to instantiate a set of instance ahead of time, and even instantiate as the number of instance needed increase, so that when the test that require a new instance run, the instance is already ready

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

No file or test is named in the issue. Start by tracing how Prool creates and waits for Node instances, then inspect the test setup around its timeout behavior. Done means instances can be prepared before tests need them and additional demand can be accommodated without requiring a 2–6 second per-test timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
performance, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.