up
100
作者 blueardour 2019-05-07 12:38:14
Wrote 0 BlogsTotally 0 words
NCNN benchmark

on X86

cat /proc/cpuinfo get:


processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
stepping : 3
microcode : 0xc6
cpu MHz : 2747.717
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp spec_ctrl intel_stibp flush_l1d
bogomips : 6624.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

loop_count = 4
num_threads = 4
powersave = 0
gpu_device = -1

          squeezenet  min =   18.12  max =   18.13  avg =   18.12
     squeezenet-int8  min =   25.77  max =   26.57  avg =   26.05
           mobilenet  min =   34.10  max =   41.99  avg =   39.52
      mobilenet-int8  min = 1812.07  max = 2236.00  avg = 2077.27
        mobilenet_v2  min =   19.65  max =   19.97  avg =   19.77
          shufflenet  min =    9.17  max =    9.27  avg =    9.24
             mnasnet  min =   23.96  max =   24.12  avg =   24.05
     proxylessnasnet  min =   27.84  max =   28.14  avg =   27.99
           googlenet  min =  107.51  max =  108.18  avg =  107.77
      googlenet-int8  min =   79.88  max =  135.41  avg =   99.03
            resnet18  min =  106.77  max =  132.38  avg =  121.32
       resnet18-int8  min =   54.92  max =   56.01  avg =   55.30
             alexnet  min =   95.33  max =  122.81  avg =  103.68
               vgg16  min =  431.05  max =  485.38  avg =  458.22
            resnet50  min =  200.76  max =  256.13  avg =  216.11
       resnet50-int8  min =  205.54  max =  223.14  avg =  211.64
      squeezenet-ssd  min =   48.84  max =   48.95  avg =   48.90
 squeezenet-ssd-int8  min =   47.09  max =   47.71  avg =   47.32
       mobilenet-ssd  min =   64.89  max =   77.83  avg =   68.25
  mobilenet-ssd-int8  min =  103.34  max =  128.95  avg =  116.94
      mobilenet-yolo  min =  177.15  max =  280.19  avg =  203.59
    mobilenet-yolov3  min =  142.44  max =  175.01  avg =  151.13

unit(ms)

On Android

platform: Hikey970, with all core to max frequency
little: 1844000, big: 2362000, ddr: 1866000000
loop_count = 4
num_threads = 8
powersave = 0
gpu_device = -1

          squeezenet  min =   27.47  max =   27.78  avg =   27.61
     squeezenet-int8  min =   24.93  max =   29.59  avg =   26.91
           mobilenet  min =   27.82  max =   27.94  avg =   27.86
      mobilenet-int8  min =   32.99  max =   33.14  avg =   33.06
        mobilenet_v2  min =   33.50  max =   33.69  avg =   33.59
          shufflenet  min =   20.78  max =   20.91  avg =   20.84
             mnasnet  min =   26.87  max =   26.99  avg =   26.93
     proxylessnasnet  min =   30.41  max =   30.53  avg =   30.49
           googlenet  min =   79.33  max =   79.89  avg =   79.53
      googlenet-int8  min =   89.49  max =   89.68  avg =   89.54
            resnet18  min =   88.90  max =  100.49  avg =   94.75
       resnet18-int8  min =   55.93  max =   56.88  avg =   56.35
             alexnet  min =  237.46  max =  237.86  avg =  237.73
               vgg16  min =  409.37  max =  413.12  avg =  411.60
            resnet50  min =  292.47  max =  311.09  avg =  301.93
       resnet50-int8  min =  145.22  max =  183.23  avg =  155.54
      squeezenet-ssd  min =   74.09  max =  104.94  avg =   92.93
 squeezenet-ssd-int8  min =   93.29  max =   94.56  avg =   93.71
       mobilenet-ssd  min =   60.75  max =   61.27  avg =   60.90
  mobilenet-ssd-int8  min =   65.12  max =   65.56  avg =   65.37
      mobilenet-yolo  min =  151.68  max =  359.29  avg =  204.52
    mobilenet-yolov3  min =  136.39  max =  141.15  avg =  139.90

unit(ms)

-->