Skip to content
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

Improve the performance for record & replay #984

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ono-max
Copy link
Member

@ono-max ono-max commented May 27, 2023

Here is a performance comparison.

  Execution Time(s) Ratio to existing implementation
Existing implementation 73.743 1.0
Current Proposal 46.616 1.58

Script for measuring performance

def index
    binding.break # <- Start a program here
    1_000.times {
      respond_to do |format|
        format.html # index.html.erb
      end
    }
  end #<- Pause a program here
  • ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin21]
  • MacBook Pro (16-inch, 2021)
  • Chip: Apple M1 Max
  • Memory: 32 GB

@ko1
Copy link
Collaborator

ko1 commented Sep 25, 2023

Could you explain your idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants