Strict Standards: Non-static method phpbb_feed_factory::init() should not be called statically in /home/jacius/rubygame/forums/feed.php on line 66
[phpBB Debug] PHP Notice: in file /feed.php on line 171: Cannot modify header information - headers already sent by (output started at /feed.php:66)
[phpBB Debug] PHP Notice: in file /feed.php on line 172: Cannot modify header information - headers already sent by (output started at /feed.php:66)
Rubygame Forums 2010-12-28T04:48:30+00:00 http://rubygame.org/forums/feed.php?f=4&t=195 2010-12-28T04:48:30+00:00 http://rubygame.org/forums/viewtopic.php?t=195&p=703#p703 <![CDATA[Re: rubygame slow. Increasing fps?]]> ruby-prof to profile your application and see where the bottlenecks are.

Code:
require File.expand_path(File.dirname(__FILE__)) + "/config/environment.rb"
require 'ruby-prof'
results = RubyProf.profile do
  game = Game.new
  game.run
end
printer = RubyProf::GraphHtmlPrinter.new(results)
printer.print(File.new("report.html","w"))


You can produce something like this:

Image

Statistics: Posted by Rusty — Tue Dec 28, 2010 4:48 am


]]>
2010-12-27T13:36:26+00:00 http://rubygame.org/forums/viewtopic.php?t=195&p=702#p702 <![CDATA[Re: rubygame slow. Increasing fps?]]> Statistics: Posted by programx — Mon Dec 27, 2010 1:36 pm


]]>
2010-12-24T02:10:04+00:00 http://rubygame.org/forums/viewtopic.php?t=195&p=699#p699 <![CDATA[rubygame slow. Increasing fps?]]> There is a way to optimize rubygame?, use Surface['image'] to load the images and do not know if that affects performance, or if there is any better method to upload images or a trick to raise the fps I would be grateful, Greetings!.

By the way, I use windows xp, ruby 1.9.2 and rubygame 2.6.4 (i install it via rubygems).

Statistics: Posted by programx — Fri Dec 24, 2010 2:10 am


]]>