rails_analyzer_tools's Introduction
= rails_analyzer_tools Tools for analyzing the performance of web sites. Rails Analyzer Tools contains Bench, a simple web page benchmarker, Crawler, a tool for beating up on web sites, RailsStat, a tool for monitoring Rails web sites, and IOTail, a tail(1) method for Ruby IOs. http://seattlerb.rubyforge.org/rails_analyzer_tools Bug reports: http://rubyforge.org/tracker/?func=add&group_id=1513&atid=5921 == Bench Bench lets you benchmark the performance of a particular page. Simply give the URL, the number of requests to run and the number of threads to run in parallel. You really, really, really don't want to run bench against a live website. $ bench -u http://coop.robotcoop.com/ -r 50 -c 2 50....45....40....35....30....25....20....15....10....5.... Total time: 10.7073893547058 Average time: 0.214147787094116 == Crawler Crawler lets you exercise a server by crawling it really fast. It picks URLs at random from the returned page and always stays on the same host. When you kill it with a ^C it prints out a summary. You really, really, really don't want to run crawl against a live website. $ crawl -u http://coop.robotcoop.com/ -c 2 >>> http://coop.robotcoop.com/ GET / HTTP/1.0 Host: coop.robotcoop.com User-Agent: RubyCrawl ... ^C Total time: 0.355171680450439 Requests: 3 Average time: 0.118390560150146 == RailsStat RailsStat displays the approximate number of requests, queries, and lines logged per second in 10 (or whatever) second intervals. Simply give it the path to your production log for a live Rails site and you're done: $ rails_stat /var/log/production.log ~ 2.1 req/sec, 23.0 queries/sec, 32.8 lines/sec == IOTail IOTail tails a file like the tail system utility. This lets you collect data from a live log file.
rails_analyzer_tools's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.