Displaying 14 results from an estimated 14 matches for "0.040000".
Did you mean:
0.000000
2011 Jan 27
1
performance question
I got sidetracked while benchmarking ruby factorial code:
http://rosettacode.org/wiki/Factorial#Ruby
I put all that code into test_fact.rb and ran with:
> ruby test_fact.rb
> rails runner test_fact.rb #from a fresh rails app
> rails runner test_fact.rb #from a mature rails app
here are the respective results:
user system total real #ruby
recursive:
2004 Feb 18
5
overlay points on plot
Dear R-help list,
I'm trying to overlay a number of data objects in a plot. Following an earlier example on the list I've created an empty plot as follows
> xlim <- range(as.numeric(c("0","10000")))
> ylim <- range(as.numeric(c("0","25")) )
> plot(NA, xlim=xlim, ylim=ylim, xlab="distance", ylab="semivariance")
2007 Sep 22
2
http helpers c extension
hi,
I rewrote escape, unescape, and query_parse in a C extension.
http://s3.amazonaws.com/four.livejournal/20070922/http_helpers.tar.bz2
Here are some sample benchmarks (the benchmark script is included in
the package)
user system total real
escape: Single long
Mongrel: 1.680000 0.020000 1.700000 ( 1.837793)
HttpHlp: 0.030000 0.010000 0.040000 ( 0.036590)
2006 May 03
11
Curse words
Hello, I just had a problem with someone cusing on my rail app now is
there somthing like Red Cloth that I can use to disable ''dirty words''
--
Posted via http://www.ruby-forum.com/.
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all,
Looking at the IO.readlines source in io.c, it looks to me like they
grab 8k chunks, split on the input record separator, and buffer accordingly.
Since it looks like ReadFileScatter() does some of that work
automatically (in page file sized chunks), I thought I''d give it a try.
Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter
2009 Apr 13
6
Memcached 1.6.5 (Rails 2.3) 10x slower
The move to memcached_client 1.6.5 in Rails 2.3 seems to have made the
Rails cache about 10x slower. Since that''s the opposite effect I
would expect, I was hoping somebody would explain where I''m misreading
these numbers?
I noticed my fragment caching was slow -- it shouldn''t take 2ms just
to read a 2k string from a localhost memcached server:
Cached fragment hit:
2008 May 24
0
WoW + Wine Performance Problem
Here are the spec of my Laptop
OS - Ubuntu hardy 8.04 + with fully updated
Wine - 1.0rc1
Intel P4 3.0Ghz
1 gig ram
nVidia geforce fx 5200 64mb using newest drivers using envy came be 2 fps increase from last nvidia version I had installed.
Here is my Config.wtf file in WOW.
SET gxApi "opengl"
SET ffxDeath "0"
SET ffxGlow "0"
SET SoundOutputSystem "1"
2011 Oct 04
2
PowerCOM BNT-800AP (0d9f:0004)
Hello.
I've been trying to got it work but haven't luck.
I'm using NUT 2.6.0-1 under Windows XP with libusb driver installed
(USB\VID_0D9F&PID_0004&REV_0001).
I had tryed all options with such config:
*PWCOM]
driver = usbhid-ups
port = auto
vendorid = 0d9f
desc = "Powercom BNT-800AP"
type=BNT*
*
*Here is output from CMD:*
2006 Feb 02
4
AjpRails; Rails runner using AJP13
Hello, all.
I released AjpRails 0.1.0. AjpRails is a script for running Ruby on
Rails. Rails this script runs uses AJP13(Apache JServ Protocol 1.3)
instead of CGI or FastCGI, to cooperate with your HTTPd.
Its RubyForge project is:
http://rubyforge.org/projects/ruby-ajp/
Project home page is:
http://ruby-ajp.rubyforge.org/wiki/wiki.pl
Now, AjpRails is slower and much more unstable than
2007 Dec 09
38
libevent
Hello,
I have been looking at the Ruby/EventMachine. First let me say it look very
good. Reactor model with no threads makes for fast reliable server, and I
have read about marvelous Twisted framework for Python and am glad to see
something similar for Ruby.
I am writing network app with Ruby threads now and it very slow, and I try
new Ruby 1.9 with native threads that make it much slower.
2006 Feb 09
6
troubleshooting an observe_field
Hi,
I''ve got a live_search field in a partial that is on several different
pages. On all pages, except 1, it works fine. On the page it doesn''t work
on, it seems it never executes it action.
Here''s my observe_field code inside the partial:
<h1><label for="searchtext">Live Search:</label></h1>
<%= text_field_tag :searchtext
2011 Sep 24
2
Similar problems for different programs.
Greetings everyone.
I installed wine this morning and I tried to install 3 programs, 2 were successfully installed, one is impossible to install at all.
Let's start with what is perhaps the most famous, world of warcraft.
I installed it just fine but launching the game is impossible.
The launcher just disappear when I click on "play", using wine Wow.exe will result in wine trying to
2009 Aug 09
2
World of Warcraft won't start up
with this update i can bring up the launcher, but once the login screen pops up it feezes and then closes and comes up with this error.
==============================================================================
World of WarCraft (build 10192)
Exe: C:\World of Warcraft\Wow.exe
Time: Aug 9, 2009 3:16:49.735 PM
User: elias
Computer: elias-desktop
2016 Feb 27
2
"guestmount --rw" fails but "guestmount --ro" succeeds on Ubuntu 14.04
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
guestmount --ro -a agent-disk1.vmdk -i /mnt/vmdk --> Works fine
guestmount --rw -a agent-disk1.vmdk -i /mnt/vmdk
libguestfs: error: appliance closed the connection unexpectedly.
This usually means the libguestfs appliance crashed.
See