Changeset 96


Ignore:
Timestamp:
05/31/10 10:52:22 (4 years ago)
Author:
faltet
Message:

The suite in benchmarks has been reduced so that it can finish in a
reasonable time.

Added a parameter print for easy the paring process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bench.c

    r93 r96  
    157157  } 
    158158 
     159  printf("--> %d, %d, %d, %d\n", nthreads, size, elsize, rshift); 
    159160  printf("********************** Run info ******************************\n"); 
    160161  printf("Blosc version: %s (%s)\n", BLOSC_VERSION_STRING, BLOSC_VERSION_DATE); 
     
    276277    nthreads = atoi(argv[1]); 
    277278  } 
    278    
     279 
    279280  if (argc >= 3) { 
    280281    size = atoi(argv[2])*1024; 
     
    295296 
    296297  if (suite) { 
    297     for (nthreads=1; nthreads <= 10; nthreads++) { 
    298       for (size=32*KB; size <= 8*MB; size *=2) { 
    299         for (elsize=1; elsize <= 32; elsize *=2) { 
     298    for (nthreads=1; nthreads <= 6; nthreads++) { 
     299      for (size=64*KB; size <= 4*MB; size *=2) { 
     300        for (elsize=1; elsize <= 16; elsize *=2) { 
    300301          do_bench(nthreads, size, elsize, rshift); 
    301302        } 
Note: See TracChangeset for help on using the changeset viewer.