Showing posts with label gsoc. Show all posts
Showing posts with label gsoc. Show all posts

Thursday, June 26, 2008

rorbench on github now!

Current source just uploaded into github.com.
You can clone it , test it and report bugs! =)
http://github.com/sv/rorbench/tree/master

Sunday, June 22, 2008

JRuby improves performance with minor versions!

I've done some simple benchmarking with typo bloging engine and here is some graphs on this.
Benchmark was done on jruby and mri with untuned versions of ruby and openjdk 6.0 for jruby.












































It's really awesome improvements! But we have a lot more room for further improvements!

Saturday, June 7, 2008

Cygwin git-svn doesn't work

All JRuby maintainers use git-svn for managing their versioning. But jruby on github supported manually.
I've also try to use git-svn on my Windows machine and encounter an error:
fatal error - unable to remap cygdb-4.2.dll to same address as parent
After some googling I've found similar problem for python on cygwin(git-svn uses perl).
Again 2-step solution:
  1. Exit all Cygwin processes and stop all Cygwin services.Execute ash from Start/Run... or a cmd or command window. In my case that was ssh,init, svn services and cygwin terminal.
  2. /bin/rebaseall

Thursday, June 5, 2008

Shell on windows

As you all know, command prompt on Windows * very poor. There is simple 2-step solution to this problem!
1)Setup local ssh server(instructions)
2) Use putty to connect (putty)

That's all =)

Wednesday, May 21, 2008

Beautiful Coding on road!

Finally! Almost one week sooner than Fedex expected they do this- book in my hands.
With tips and tricks from leading programmers this Summer of Code will be definitely Beautiful =)

Saturday, May 10, 2008

Benchmark Suite development plan

It's only draft version, any suggestions are welcomed!

Breaking application into several pieces help to make ease of use and modification each part, so lets break:
1)'Typical' RoR application
An application that can hit performance cases most rails developers runs into. I see such an application as some quick project with most usefull plugins such as will_paginate, etc(any suggestions?). May be we should look into 15 minute projects from rails site(are they need to be updated?)

2)Rake tasks
Automated rake tasks able to pull latest version of rails edge from git and latest jruby(ruby) version build and test. It is suitable for running on server( for example in continiuos building) and locally by developers for introduced regressions =)

3)Baseline
Ruby1.8+latest stable Rails.
Most used for now is MRI 1.8 and JRuby measured against 1.8, so that's the primary metric by which we need to measure.

4) Rating
Provide rates for combinations ruby implementation+rails against baseline. Write all that data into database to make it's usage in rails app.... magic circle =)

5) Visualize results
Write some app that can show pretty statistics for obtained data

UPD: For now we choose typo blog engine as typoical rails webapp. It uses many commoan for modern webapp features:

Performance rocks!

Hi, I'm Sergey Vidyuk from Russia and will work on rails benchmarking this summer.
It's about benchmark suite for Rails for developers to find and fix performance regressions and bottlenecks.
Suite will be able to benchmark full Rails stack and provide useful statistics about request processing in different parts of rails.
As Rails 2.0 become restfull, now it's not enough to test only fast path GET requests as most benchmarks do, and test all of them:POST,GET,PUT,DELETE (CRUD).
Stay tuned =)