Skip to content

Improve the performance for record & replay - #984

Open
ono-max wants to merge 1 commit into
ruby:masterfrom
ono-max:patch-252
Open

Improve the performance for record & replay#984
ono-max wants to merge 1 commit into
ruby:masterfrom
ono-max:patch-252

Conversation

@ono-max

@ono-maxono-max commented May 27, 2023

Copy link
Copy Markdown
Member

Here is a performance comparison.

Execution Time(s)Ratio to existing implementation
Existing implementation73.7431.0
Current Proposal46.6161.58

Script for measuring performance

defindexbinding.break# <- Start a program here1_000.times{respond_todo |format|
format.html# index.html.erbend}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

ko1 commented Sep 25, 2023

Copy link
Copy Markdown
Collaborator

Could you explain your idea?

Sign up for freeto 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

@ono-max@ko1