- 论坛徽章:
- 0
|
如果因为本贴引起某些人的口水肆意,那我将非常遗憾~~呵呵~~
http://shootout.alioth.debian.org/sandbox/
在这里可以做各种语言的性能测试,如B树,正则一类的,还有一些测试我也不知道具体是什么来的~~可以看下面的英文解释~~~
总体上说PHP的性能并不是特别理想~~~python和perl甚至在多数测试上还要更好一些~~如果能弄清楚每项测试都是什么,或许有助于理解PHP的一些内在机制~~
binary-trees
Allocate and deallocate many many binary trees
chameneos
Symmetrical thread rendez-vous requests
cheap-concurrency
Send messages between linked threads
fannkuch
Indexed-access to tiny integer-sequence
fasta
Generate and write random DNA sequences
k-nucleotide
Hashtable update and k-nucleotide strings
mandelbrot
Generate Mandelbrot set portable bitmap file
n-body
Double-precision N-body simulation
nsieve
Indexed-access to boolean-sequence
nsieve-bits
Indexed-access to bit-values
partial-sums
Naive iterative summation: power sin cos
pidigits
Streaming arbitrary-precision arithmetic
recursive
Naive recursive-algorithms: ack fib tak
regex-dna
Match DNA 8-mers and substitute nucleotides for IUB codes
reverse-complement
Read DNA sequences - write their reverse-complement
spectral-norm
Eigenvalue using the power method
startup
Measure 'hello world' program startup time
sum-file
Read lines, parse and sum integers
数据的真实性无法估计,因为
"(alpha)" benchmarks are just experiments - we'll probably change them or decide not to use them at all.
Please don't waste your valuable time implementing alpha benchmarks shown on The Sandbox. |
|