-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add benchmarking script for modify_file function #1368
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Using content from on_ticket.py, can you prefill the context needed to initialize SweepBot? You may need to use the repo as well, just put placeholders for now |
Hi @wwzeng1, I decided to make the following changes:
|
Use
|
Hi @wwzeng1, I decided to make the following changes:
|
…eepai/sweep into sweep/add-benchmarking-script
Refactored Deployment Guide
Description
This PR adds a benchmarking script for the
modify_file
function in thediff.py
module. The benchmarking script is located atsweepai/utils/benchmark_modify_file.py
. It allows for testing the performance of themodify_file
function by parsing a file for the necessary context and measuring the execution time.Summary of Changes
benchmark_modify_file.py
in thesweepai/utils
directory.modify_file
function fromdiff.py
.benchmark_modify_file
function that takes a file path as an argument.modify_file
function to measure the execution time.modify_file
function.Please review and merge this PR to enable benchmarking of the
modify_file
function.Fixes #1367.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: