[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fastcgipp-users] Benchmarks and RPM
From: |
ninti |
Subject: |
[Fastcgipp-users] Benchmarks and RPM |
Date: |
Thu, 03 Dec 2009 15:46:26 +1030 |
Thanks for the tip!
Using out.dump(fin) is way faster than the while loop I used below, according
to
Apache Bench.
I have posted some very basic C++ (fastcgipp) vs PHP benchmarking on the net at
www.mjhall.org if anyone is interested or has feedback on what I did or how I
did it.
At the same URL an x86_64 CentOS 5 RPM of fastcgipp is available with up to
date
Boost and Nginx packages etc, everything to get going quickly.
Mick
On Sat 28/11/09 5:10 PM , Eddie Carle address@hidden sent:
On Sat, 2009-11-28 at 16:36 +1030, address@hidden wrote:
> fin.open("default");
> }
>
> wchar_t ch;
> while (fin.get(ch)) {
> out << ch;
> }
> fin.close();
Just a not that this little nugget of code could be expedited with a
convenient little helper function in the Fcgistream class. Check out the
dump function in...
http://www.nongnu.org/fastcgipp/doc/2.0beta/classFastcgipp_1_1Fcgistream.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fastcgipp-users] Benchmarks and RPM,
ninti <=