[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
Thanks for that. (Toby Corkindale too) I'll do more research and update you later. Thanks. Andrew Rodland wrote: On Monday 28 September 2009 12:56:36 am Fayland Lam wrote: I'm wondering if someone here did a benchmark between Catalyst 5.7 and 5.8 Benchmark, as requested. View this message a

Re: [Catalyst] Catalyst benchmark 5.7 vs 5.8 - new test

2009-09-28 Thread Toby Corkindale
Toby Corkindale wrote: It's interesting to note the headline figures have 5.71 performing 316 tps, vs 5.80 making only 283 tps. Memory usage (for this small app) has increased by 4MB, but is presumably shared. I guess I should look into that more. Here are some new analysis of memory usage on

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Andrew Rodland
On Monday 28 September 2009 12:56:36 am Fayland Lam wrote: > I'm wondering if someone here did a benchmark between Catalyst 5.7 and 5.8 Benchmark, as requested. View this message at http://p3m.org/pfn/3499 if your mailer is too high-tech for fixed-width text. The Setup: Linux 2.6 OpenVZ, on Qu

Re: [Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Andrew Rodland
On Monday 28 September 2009 09:31:13 pm Fayland Lam wrote: > Toby Corkindale wrote: > > Fayland, I was looking at the benchmarks that you linked, and was just > > wondering which version of Perl you're running against? > > > > (CentOS 5 was one of the operating systems that came with the > > badly-

Re: [Catalyst] Catalyst benchmark 5.7 vs 5.8 - new test

2009-09-28 Thread Toby Corkindale
Fayland Lam wrote: I'm wondering if someone here did a benchmark between Catalyst 5.7 and 5.8 I have a vested interest in knowing the difference between the two versions as well, so knocked up a "proper" test. I have two identical virtual machines, only on one I installed Catalyst::Runtime 5.

[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
Toby Corkindale wrote: (Apologies for top-posting.. have momentarily lost the option to change quoting styles it seems..) Fayland, I was looking at the benchmarks that you linked, and was just wondering which version of Perl you're running against? (CentOS 5 was one of the operating systems t

[Catalyst] Re: Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Fayland Lam
Tomas Doran wrote: Fayland Lam wrote: from the top, each httpd takes 20M more RAM in 5.8 compared with 5.7 No, that'll be 20Mb of RAM _in total_, as all of those pages should be shared between your apache processes (given that you're preloading your application in the parent process). top

Re: [Catalyst] Catalyst::Controller::REST JSON Serialization/Encoding Problem

2009-09-28 Thread Alejandro Imass
Ok. I have verified it's the encoding function's problem, or at least the encoding problem is in the server, not JQuery or JS. I dumped the $output just before returning and the output is all scrambled. My shell and complete locale in Debian is UTF-8 so the problem seems effectively to be the enco

Re: [Catalyst] Catalyst::Controller::REST JSON Serialization/Encoding Problem

2009-09-28 Thread Alejandro Imass
I have sent you an example directly to your mail. If anyone else wants to test, let me know and I will forward to you as well. Thanks, Alejandro Imass On Mon, Sep 28, 2009 at 11:58 AM, Tomas Doran wrote: > Alejandro Imass wrote: >> >> Well, that's it for now, but I can verify that by using to_js

Re: [Catalyst] Catalyst::Controller::REST JSON Serialization/Encoding Problem

2009-09-28 Thread Alejandro Imass
Sure, I can work out an example but I'm up to my neck in work so it won't be immediate... On Mon, Sep 28, 2009 at 11:58 AM, Tomas Doran wrote: > Alejandro Imass wrote: >> >> Well, that's it for now, but I can verify that by using to_json it >> actually solves my encoding problems. > > Well, I hav

Re: [Catalyst] Catalyst::Controller::REST JSON Serialization/Encoding Problem

2009-09-28 Thread Tomas Doran
Alejandro Imass wrote: Well, that's it for now, but I can verify that by using to_json it actually solves my encoding problems. Well, I have this working fine for me in my environment, but I'm prepared to believe it may not work for you, as we do fairly wacky things with uft8 (for hysterical

[Catalyst] Catalyst::Controller::REST JSON Serialization/Encoding Problem

2009-09-28 Thread Alejandro Imass
Hi, The current version (0.77) seems to be encoding JSON with UTF-8 data wrong. In fact. I have noticed this problem since earlier versions, and it's still present in 0.77. I think that with JSON v2 many things changed and using encode_json is actually re-encoding the data, if the data is already

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread David Silva
Sorry to interrupt, but that is a !!WOW!! I used CentOS a few weeks ago and i have to say that it could be better if it was updated... But seems that they are with internal problems ... 2009/9/28 Stuart Watt > Toby Corkindale wrote: > > (CentOS 5 was one of the operating systems that came with

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Stuart Watt
Toby Corkindale wrote: (CentOS 5 was one of the operating systems that came with the badly-patched Perl with the slow bless performance.. although I'm sure it's been patched by now? ie. http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/ ) This issue is still listed as open for Cento

Re: [Catalyst] wrapper.tt2 as default template EXCEPT for some selected actions?

2009-09-28 Thread J. Shirley
On Sun, Sep 27, 2009 at 9:59 PM, Jens Schwarz wrote: > Hi *, > > I followed the Catalyst Tutorial at [1] and created the wrapper template. > Everything works fine except that I have a few selected actions in my > Controllers that should explicit NOT use this template. > > Any hints on how to acco

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Toby Corkindale
(Apologies for top-posting.. have momentarily lost the option to change quoting styles it seems..) Fayland, I was looking at the benchmarks that you linked, and was just wondering which version of Perl you're running against? (CentOS 5 was one of the operating systems that came with the badly-p

Re: [Catalyst] Catalyst benchmark 5.7 VS 5.8

2009-09-28 Thread Tomas Doran
Fayland Lam wrote: from the top, each httpd takes 20M more RAM in 5.8 compared with 5.7 No, that'll be 20Mb of RAM _in total_, as all of those pages should be shared between your apache processes (given that you're preloading your application in the parent process). top totally doesn't show