Displaying 20 results from an estimated 200 matches similar to: "is there a profiling gem/plugin for Ruby on Rails?"
2008 Apr 20
1
how to select "no date" in activeScaffold
HI,
I have a date column which is not mandatory. How can I get it so
activeScaffold offer the ability to select no date (i.e. nil or null
type thing)?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
why doesn't "config.time_zone = 'location'" ensure Time.now gives the time back in this time zone???
2010 Feb 26
1
why doesn't "config.time_zone = 'location'" ensure Time.now gives the time back in this time zone???
Hi,
I''m after a way of ensuring all my Time work (e.g. using Time.now)
uses the time zone I define as default. To do this I''ve set the
following line in config/environment.rb:
config.time_zone = ''Brisbane''
But even after this, if I open up "./script/console" I note that
Time.now doesn''t work. That is I see:
?> Time.now
=> Thu
2006 May 04
6
second assert_tag failling in rails integration test
Hi all,
I''m fairly new to rails and ruby, but I''ve come across an interesting
glitch and I''m not sure whether I''ve just got something wrong with my
assumptions or if it really is an error in the underlying framework...
I''ve created a bare-bones set of tests to show you where the problem is.
What follows are the steps I went through to reproduce the
2007 Feb 12
6
explorer.exe 100% CPU, again
Dear all,
I posted this problem sometime back on 0.9.26
(http://www.winehq.com/pipermail/wine-users/2006-December/024086.html).
I thought the problem was fixed, but it seemed not.
>From 0.9.26 all the way to the latest 0.9.30, I've been seeing this
problem on my system (Linux flying 2.6.17-11-generic #2 SMP Thu Feb 1
19:52:28 UTC 2007 i686 GNU/Linux; Ubuntu Edgy installed, but running
2012 Nov 07
2
[LLVMdev] Using LLVM to serialize object state -- and performance
On Nov 6, 2012, at 11:49 AM, "Kaylor, Andrew" <andrew.kaylor at intel.com> wrote:
> I think you may have gone beyond what I understand in how the legacy JIT code works. It looks like the call to addGlobalMapping should short-circuit the named function look up that I described ...
Well, I first look for the function by name and, if I didn't find it, then I call
2010 Jul 02
3
Ticket #5038 ActiveResource not handling updates correctly
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5038-activeresource-not-handling-updates-correctly
I just added this ticket. I''m writing a Sinatra API to be consumed by
Rails and I''ve run into an issue where the ActiveResource
documentation specifies that on update you should return an HTTP 204
status with no body. The problem is that Rack doesn''t
2020 Aug 24
2
MultiDatabase shard count limitations
Olly Betts <olly at survex.com> wrote:
> The report you show seems to be just the time take by each function
> directly rather than including functions it calls. It looks like a lot
> of the time is spent in cursor movement, as totalling up things that
> seem like they'd be due to that I quickly get to 40+% but it's hard
> to tell if that's about the actual total
2012 Nov 12
0
[LLVMdev] Using LLVM to serialize object state -- and performance
Hi Paul,
This is definitely outside the area where I know the particulars of what's going on. However, one idea that might be worth trying is setting the JIT optimization level to 'CodeGenOpt::None'. This should trigger the use of the FastISel instruction selector. Normally, you wouldn't want that for anything other than generating debug code, but since your routines are just
2012 Nov 19
3
samba4 binddlz performance
Hello,
i am using samba4rc2.
I have problems with the bind9 dlz module, i get very long response times from interal queries.
root at s-srv01:~# dig s-srv04.test.local @192.168.0.4
; <<>> DiG 9.8.0-P4 <<>> s-srv04.test.local @192.168.0.4
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64478
;; flags: qr aa rd ra;
2007 May 25
2
R scripts slowing down after repeated called to compiled code
Thanks in advance to anyone that might be able to help me with this
problem. I have not been able to find a reference to it in the
documentation on online sources, so I am turning to this group.
I am running R 2.4.1 under Red Hat Enterprise Linux 4, on an x86_64
platform (multi-core Intel Xeon processors, 3.6Ghx, 8GB of RAM). I have
some rather complicated code (so I won't attach it here),
2012 Dec 03
1
Fwd: Re: samba4 binddlz performance
-------- Original-Nachricht --------
> Datum: Fri, 23 Nov 2012 14:32:31 -0800
> Von: Matthieu Patou <mat at samba.org>
> An: samba at lists.samba.org
> Betreff: Re: [Samba] samba4 binddlz performance
> On 11/19/2012 07:11 AM, Thomas Manninger wrote:
> > Hello,
> >
> > i am using samba4rc2.
> >
> > I have problems with the bind9 dlz module, i get
2012 Nov 06
0
[LLVMdev] Using LLVM to serialize object state -- and performance
Hi Paul,
I think you may have gone beyond what I understand in how the legacy JIT code works. It looks like the call to addGlobalMapping should short-circuit the named function look up that I described, but I can't account for why it behaves differently on Mac vs. Linux.
I still don't understand how the external pointers persist between writing and reading, but it sounds like you have
2006 Apr 02
16
12 / 16 = 0
Hi,
Just thought it was weird that Ruby doesn''t automatically cast ints to
floats. Seems so un-rubyish
irb(main):006:0> 12/16
=> 0
irb(main):007:0> 12.to_f / 16.to_f
=> 0.75
Jeroen
2003 Nov 25
4
* Configuration
Hi,
I am a beginner to Asterisk. Can anybody clear my following doubts regarding
the configuration needed?
1) What is the ideal system configuratin required?(like processer, RAM, h/d
space etc)
2) How many connections it can handle at a time?
3) How many Virtual PBXs it can handle?
4) Whether Postgres or Mysql is best suited?
5) How many IVR's it can handle simultaneously?
6) How many
2012 Nov 06
3
[LLVMdev] Using LLVM to serialize object state -- and performance
Thanks for responding. Sorry for the delay in my reply, but I was dealing with hurricane Sandy. Anyway....
My software build produces libmylib.so. The JIT'd function only calls external C functions in libmylib.so and not other JIT'd functions. The C functions are simple thunks to call constructors. For example, given:
class BinaryNode : public Node {
public:
BinaryNode( Node
2005 Nov 26
6
Fuzzy searching
Hi, everyone,
Just wondering if someone had come up with a good way to do fuzzy
searches if you use MySQL as your database (we tried switching to
PostgreSQL, but that ended up adding even more problems). Ferret sounds
great, but reading through the discussion it looks like we need to solve
the problem of write conflicts. I just wrote a post in ruby-talk about
using KirbyBase maybe to solve
2006 Oct 21
6
Window#paint patch
Attached is a patch and some extra files to fix our
ObjectPreviouslyDeleted crasher with the paint method. As discussed, it
just re-implements the method in Ruby.
I created a directory lib/wx/classes as a place to hold Ruby extensions
to the API. The attached app.rb and window.rb files should be added to
it. When this patch is applied, files in that directory are
automatically required on
2016 Feb 24
2
Performance degradation on ARMv7 (cortex-a9)
Hi Bradley,
I was doing some performance analysis for ARMv7 (cortex-a9) and I
noticed that one of my benchmarks degraded by 93%. I have tracked the
regression down to the following commit by you:
/
//commit 7c1b77248baaeafec5d6433c3d1da9a2e2b69595//
//Author: Bradley Smith <bradley.smith at arm.com>//
//Date: Mon Nov 16 11:10:19 2015 +0000//
// [ARM] Introduce subtarget features per
2018 Nov 02
2
RFC: System (cache, etc.) model for LLVM
Am Do., 1. Nov. 2018 um 16:56 Uhr schrieb David Greene <dag at cray.com>:
> Ok. I would like to start posting patches for review without
> speculating too much on fancy/exotic things that may come later. We
> shouldn't do anything that precludes extensions but I don't want to get
> bogged down in a lot of details on things related to a small number of
> targets.
2020 Aug 24
0
MultiDatabase shard count limitations
On Mon, Aug 24, 2020 at 05:58:02AM +0000, Eric Wong wrote:
> Olly Betts <olly at survex.com> wrote:
> > Can prof report time for a function including things it calls?
>
> callgraph? Attached is a profile the output of "perf report -g"
> with callgraph info. I'm no perf expert, either, but slowly
> learning more as I go along...
The list seems to have