[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dennou-ruby:000768] Re: NumArray / NArray
FIP)����Ǥ���
���ߤޤ����ä��Υ�롤�ͤ��إ�Ǥ�����
��������Τ�������ޤ���
��Linux -- Mobile Pentium III 600MHz �ξ�� �� �ٻ��̤ΥΡ���PC ;-)
#### NArray vs NumArray ####
shisoku
0.220000 0.110000 0.330000 ( 0.333320)
0.390000 0.190000 0.580000 ( 0.585586)
shisoku (with scalar)
0.230000 0.070000 0.300000 ( 0.298966)
0.420000 0.170000 0.590000 ( 0.588529)
shisoku (with scalar, coerced)
0.230000 0.100000 0.330000 ( 0.331695)
0.440000 0.150000 0.590000 ( 0.582622)
math
0.830000 0.070000 0.900000 ( 0.901456)
0.700000 0.150000 0.850000 ( 0.849729)
sum, av, var, rms
0.090000 0.000000 0.090000 ( 0.093043)
0.100000 0.000000 0.100000 ( 0.092251)
max, min, median
0.000000 0.000000 0.000000 ( 0.000016)
0.000000 0.000000 0.000000 ( 0.000015)
transpose
0.160000 0.040000 0.200000 ( 0.202790)
0.570000 0.040000 0.610000 ( 0.604540)
#### shisoku in gcc (10 iterations of +-*/) ####
real 0m1.044s
user 0m0.950s
sys 0m0.100s
��Linux -- Alpha21164A 667MHz (or 750MHz? ���ߤޤ���ǧ���ޤ�)
#### NArray vs NumArray ####
shisoku
0.177734 0.062500 0.240234 ( 0.240303)
0.258789 0.054688 0.313477 ( 0.313567)
shisoku (with scalar)
0.199219 0.056641 0.255859 ( 0.254956)
0.238281 0.055664 0.293945 ( 0.294030)
shisoku (with scalar, coerced)
0.183594 0.051758 0.235352 ( 0.235419)
0.223633 0.069336 0.292969 ( 0.293053)
math
1.145508 0.055664 1.201172 ( 1.201516)
1.162109 0.041016 1.203125 ( 1.202493)
sum, av, var, rms
0.068359 0.000000 0.068359 ( 0.068379)
0.044922 0.000000 0.044922 ( 0.043958)
max, min, median
0.000000 0.000000 0.000000 ( 0.000000)
0.000000 0.000000 0.000000 ( 0.000000)
transpose
0.121094 0.016602 0.137695 ( 0.137735)
1.068359 0.014648 1.083008 ( 1.082342)
#### shisoku in Compaq Fortran (10 iterations of +-*/) ####
real 0m1.404s
user 0m1.371s
sys 0m0.031s
#### shisoku in gcc (10 iterations of +-*/) ####
./Bench: line 12: 4222 Floating point exception./a.out
real 0m0.107s
user 0m0.090s
sys 0m0.018s
--
���� �� (KOSHIRO Tsuyoshi) <t.koushiro@xxxxxx>
�ٻ��̥��ա��������ԡ�(��) �Ķ������ƥ���ȿ���� �����ƥ���
��̳�� >> �̿����縦��� �ż��ȷ�¬���� �߿�졼�����롼��
mailto:koshiro@xxxxxx TEL:042-327-6880 FAX:042-327-6666