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

Performance tests improved #247

Merged
merged 59 commits into from May 17, 2011
Merged

Performance tests improved #247

merged 59 commits into from May 17, 2011

Conversation

goncalossilva
Copy link
Contributor

Hi!

Last rubysoc I was halfway through adding support for benchmarking under Rubinius when I had to "abandon" the task because of the schedule (it was really low priority). I've been back at work on Rails' performance tests utilities and I've:

  • Improved YARV's support;
  • Added support for benchmarking and profiling under Rubinius and JRuby as well;
  • Added support for user-defined options;
  • Updated documentation accordingly.

I've worked with Wayne to get the necessary MRI 1.8/1.9 patches on rvm. The last of them was merged yesterday.

…ting/performance, where it is actually required
…n counting memory allocations under rubinius
@dhh
Copy link
Member

dhh commented Apr 27, 2011

@jeremy, can you take a look at this?

@goncalossilva
Copy link
Contributor Author

It would be great if @jeremy could take a look at this, since he wrote most of the original code. I think @wycats had a brief look, but I'm not sure.

Anyway, the easier way to start is to skim the new documentation (IMO):
http://dl.dropbox.com/u/1585962/performance_testing/performance_testing.html (specially chapter 1).
It gives an overview on all enhancements.

…nce_test

Conflicts:
	activesupport/lib/active_support/testing/performance.rb
@goncalossilva
Copy link
Contributor Author

Merged with master (25288c1 didn't apply cleanly).

@goncalossilva
Copy link
Contributor Author

I've changed both benchmarker and profiler to use the new performance testing tools. Consequently, they're more configurable and work under Rubinius and JRuby.

I've also updated the guide (and uploaded a new version to the url I've sent before).

jeremy added a commit that referenced this pull request May 17, 2011
@jeremy jeremy merged commit b77e032 into rails:master May 17, 2011
@goncalossilva
Copy link
Contributor Author

Thanks for merging this in, Jeremy.

matthewd pushed a commit that referenced this pull request Apr 24, 2018
fixed the readme per discussion w/ tenderlove
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.

None yet

3 participants