how goes the new perl client?

Harmen harm at tty.nl
Mon Apr 3 06:12:35 UTC 2006


On Sun, Apr 02, 2006 at 10:59:05PM -0700, Jason Titus wrote:
> Looks good!  I just compiled and benchmarked Cache::MemcacheC on Centos 4.3 (RHEL 4.3 clone) w/o problems.  Looked to be about 2x faster on sets and 5x faster on gets w/ my config (testing against localhost).
>  
>  One thing - it doesn't seem to make much difference on my Athlon, but it would be best to not hard code the mtune to pentium4.
>  
>  Also, Mac OS X chokes on the call to xargs in the tests.  I'll try to track down the changes needed to fix it tomorrow.

Ah.
It tries to kill memcached running on the testport. You can just delete the
'--no-run-if-empty' from xargs. Might get a warning then.
You do need memcached in your path to run the tests.

Thanks,
Harmen


> Jason-Titus-Computer-2:/Volumes/jason/Cache-MemcacheC-1.1 jasontitus$  
> make test
> Running Mkbootstrap for Cache::MemcacheC ()
> chmod 644 MemcacheC.bs
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Cache-MemcacheC....ok 1/0xargs: illegal option -- -
> usage: xargs [-0pt] [-E eofstr] [-I replstr [-R replacements]] [-J  
> replstr] [-L number] [-n number [-x] [-s size] [utility  
> [argument ...]]
> xargs: illegal option -- -
> usage: xargs [-0pt] [-E eofstr] [-I replstr [-R replacements]] [-J  
> replstr] [-L number] [-n number [-x] [-s size] [utility  
> [argument ...]]
> Can't exec "memcached": No such file or directory at t/Cache- 
> MemcacheC.t line 28.
> Can't exec "memcached": No such file or directory at t/Cache- 
> MemcacheC.t line 29.
> t/Cache-MemcacheC....dubious
>          Test returned status 0 (wstat 13, 0xd)
> FAILED--1 test script could be run, alas--no output ever seen
> make: *** [test_dynamic] Error 255
>  Anyway - very cool stuff overall.  It will be nice to have a wickedly fast perl module for accessing memcached.
>  
>  Jason
>  
-- 
                               The Moon is Waxing Crescent (28% of Full)


More information about the memcached mailing list