Repository navigation
perf: add git clone + npm install benchmark (regular fs vs fusey mount) - #28
Merged
Merged
Conversation
Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was created by an AI agent (OpenHands) on behalf of the user.
Why
We want a repeatable performance test based on typical usage:
git cloneof OpenHands followed bynpm install, run once on a regular filesystem and once on a fusey FUSE mount.perf/clone_npm_bench.sh [regular|fuse|both]does this and prints a side-by-side markdown table with afuse / regularratio column.clone,install,status(git status),walk(find),read(tarof every file). Fuse-only:mount,rm_rf,unmount(includes the final flush).broker/as the object store, so no S3 or Docker is needed.perf/results/(gitignored).Validation
git status~0.3s,find~0.15s,tarread ~2.9s. The tree has 119,097 files and is 1.7 GiB./dev/fuseand could not create one. The broker, daemon start and index init worked, and the mount failed atfusermount3: fuse device not found. This needs a run on a FUSE-capable host before the numbers can be trusted.@tofarr can click here to continue refining the PR