# How do I make a performance test?

**URL:** <https://www.ruby-forum.com/t/how-do-i-make-a-performance-test/175060>\
**Category:** Rails\
**Created:** [September 7, 2009, 7:41am UTC](https://www.ruby-forum.com/t/how-do-i-make-a-performance-test/175060 "2009-09-07T07:41:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jarl](https://www.ruby-forum.com/u/jarl)\
**Post date:** [September 7, 2009, 7:41am UTC](https://www.ruby-forum.com/t/how-do-i-make-a-performance-test/175060/1 "2009-09-07T07:41:13Z")

</div>

Hi.

I would like to make a performance test using rails 2.3.3

I see there is a generator called performance\_test, but can someone  
give me a link to a url that gives some examples.

I have read  
[http://guides.rubyonrails.org/performance\_testing.html](http://guides.rubyonrails.org/performance_testing.html)

To me however a test is something that either passes or fails. And all  
the examples given in article provides measurements of executions in  
numbers. I wouldn’t call these tests. I would call that performance  
measures. I would like to write a test that passes when a certain  
performance measure is below some threshold, and fails otherwise.

Any hints on where to start RTFM?

Jarl
