Skip to content

chore: drop npx prefix from concurrently commands#1505

Merged
pulpdrew merged 2 commits intohyperdxio:mainfrom
daniellockyer:reduce-memory-usage
Dec 19, 2025
Merged

chore: drop npx prefix from concurrently commands#1505
pulpdrew merged 2 commits intohyperdxio:mainfrom
daniellockyer:reduce-memory-usage

Conversation

@daniellockyer
Copy link
Copy Markdown
Contributor

@daniellockyer daniellockyer commented Dec 19, 2025

  • adding npx to the front adds an extra ~80MB of RAM usage, due to the overhead of npx
  • however, we don't need it in these places because they're either coming via yarn, which automatically does the path resolution, or we're in Docker, where the concurrently binary is in the PATH
  • this saves ~80MB of RAM in local dev and production

I've tested this locally and everything continues to work as expected.

Noticed whilst playing around with the all-in-one image 🙂

- adding `npx` to the front adds an extra ~80MB of RAM usage, due to the
  overhead of `npx`
- however, we don't need it in these places because they're either
  coming via `yarn`, which automatically does the path resolution, or
  we're in Docker, where the `concurrently` binary is in the PATH
- this saves ~80MB of RAM in local dev and production
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 19, 2025

@daniellockyer is attempting to deploy a commit to the HyperDX Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 19, 2025

⚠️ No Changeset found

Latest commit: ccc6721

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Contributor

@pulpdrew pulpdrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

@pulpdrew pulpdrew merged commit 99ea639 into hyperdxio:main Dec 19, 2025
9 of 12 checks passed
@daniellockyer daniellockyer deleted the reduce-memory-usage branch December 19, 2025 21:24
knudtty pushed a commit that referenced this pull request Apr 16, 2026
Co-authored-by: Drew Davis <drew.davis@clickhouse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants