i had the following code to ball-park the number of possible hits per
second my macbook can support:
<% t = Time.now %>
Find me in app/views/hello/index.rhtml
<% for i in 1..100 do %> <%= Time.now %> <%= h @ha %> <%= sanitize @ha %> <%= u @ha %> <%= @ha.to_json %> <%= strip_tags @ha %> <%= Time.now - t %> <%= 1 / (Time.now - t) %> <% end %> so the last number is how many page server this page can support in 1 second if it stops right there. that number is initially about 1800, and then at the end of the loop, it is just 20. this program is not so CPU intensive, it seems... i wonder how come it drops from 1800 to 20 that quickly? thanks.