Skip to content

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants