1. 25 Jan, 2010 19 commits
    • Lukáš Tvrdý's avatar
      Add projection benchmark. Loads image, call refreshGraph() to compute... · 01193ad5
      Lukáš Tvrdý authored
      Add projection benchmark. Loads image, call refreshGraph() to compute projection and save to another file.
      Native fileformat used.
      
      svn path=/trunk/koffice/; revision=1080123
      01193ad5
    • Cyrille Berger's avatar
      add a gray 32f colorspace · e5f3c8c3
      Cyrille Berger authored
      svn path=/trunk/koffice/; revision=1080088
      e5f3c8c3
    • Cyrille Berger's avatar
      setAlpha2/alpha2 here too · 65734965
      Cyrille Berger authored
      svn path=/trunk/koffice/; revision=1080085
      65734965
    • Cyrille Berger's avatar
      add a alpha2/setAlpha2 function that use qreal, for testing purposes · c72494d6
      Cyrille Berger authored
      svn path=/trunk/koffice/; revision=1080071
      c72494d6
    • Lukáš Tvrdý's avatar
      Fix compilation. · 08def429
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1080049
      08def429
    • Boudewijn Rempt's avatar
      remove the loop, make the readwrite test a true read test · f2c34d2f
      Boudewijn Rempt authored
      svn path=/trunk/koffice/; revision=1080044
      f2c34d2f
    • Lukáš Tvrdý's avatar
      Use constants from header file for testing dimensions. · 80e3c5f6
      Lukáš Tvrdý authored
      Fix benchmarks so that they use it.
      
      svn path=/trunk/koffice/; revision=1080040
      80e3c5f6
    • Cyrille Berger's avatar
      add a message about Krita depending on 4.3.x · df13fba0
      Cyrille Berger authored
      svn path=/trunk/koffice/; revision=1080038
      df13fba0
    • Lukáš Tvrdý's avatar
      Make the fix real. Fix the fix. Incrementaly :) · af6a0e48
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1080037
      af6a0e48
    • Thomas Zander's avatar
      Inherit the parag/char style from the list instead of inserting blank items. · 60c84924
      Thomas Zander authored
      Inspired on the way that loadBody() works.
      
      svn path=/trunk/koffice/; revision=1080029
      60c84924
    • Cyrille Berger's avatar
      add benchmarks for alpha/setAlpha function · 8659f247
      Cyrille Berger authored
      svn path=/trunk/koffice/; revision=1080013
      8659f247
    • Lukáš Tvrdý's avatar
      Add versions without memcpy. · 686ac35b
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1080004
      686ac35b
    • Lukáš Tvrdý's avatar
      Add read/write test to hline iterator · 9d337426
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1080001
      9d337426
    • Lukáš Tvrdý's avatar
      Typos fixed. · 8a919700
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1079996
      8a919700
    • Boudewijn Rempt's avatar
      Add a data dir for test files · 9d034280
      Boudewijn Rempt authored
      svn path=/trunk/koffice/; revision=1079994
      9d034280
    • Lukáš Tvrdý's avatar
      Benchmark for KisHLineIterator added. · 8c2e1d7c
      Lukáš Tvrdý authored
      svn path=/trunk/koffice/; revision=1079965
      8c2e1d7c
    • Boudewijn Rempt's avatar
      benchmark: Test the megapixel block 100 times · a0c1388c
      Boudewijn Rempt authored
      Write and read the megapixel block 100 times, but not
      to/from the same location in the data manager
      
      Results with Tiles 3, with a minimum of 10 iterations:
      
      boud@gralen:~/kde/build/koffice/krita/benchmarks> ./KisDatamanagerBenchmark -vb -iterations 10
      ********* Start testing of KisDatamanagerBenchmark *********
      Config: Using QTest library 4.6.1, Qt 4.6.1
      RESULT : KisDatamanagerBenchmark::benchmarkCreation():
           0.084 msec per iteration (total: 27, iterations: 320)
      RESULT : KisDatamanagerBenchmark::benchmarkWriteBytes():
           480.6 msec per iteration (total: 4806, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkReadBytes():
           274.8 msec per iteration (total: 2749, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkReadWriteBytes():
           1,036.0 msec per iteration (total: 10360, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkExtent():
           0.00040 msec per iteration (total: 33, iterations: 81920)
      RESULT : KisDatamanagerBenchmark::benchmarkClear():
           3.0 msec per iteration (total: 30, iterations: 10)
      
      With tiles 1:
      
      boud@gralen:~/kde/build/koffice/krita/benchmarks> ./KisDatamanagerBenchmark -vb -iterations 10
      ********* Start testing of KisDatamanagerBenchmark *********
      Config: Using QTest library 4.6.1, Qt 4.6.1
      RESULT : KisDatamanagerBenchmark::benchmarkCreation():
           0.071 msec per iteration (total: 23, iterations: 320)
      RESULT : KisDatamanagerBenchmark::benchmarkWriteBytes():
           1,209.4 msec per iteration (total: 12094, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkReadBytes():
           90.2 msec per iteration (total: 903, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkReadWriteBytes():
           1,887.2 msec per iteration (total: 18872, iterations: 10)
      RESULT : KisDatamanagerBenchmark::benchmarkExtent():
           0.000061 msec per iteration (total: 40, iterations: 655360)
      RESULT : KisDatamanagerBenchmark::benchmarkClear():
           2.1 msec per iteration (total: 21, iterations: 10)
      
      Looks like writing has become a lot faster, and reading a lot slower with tiles3 compared
      to tiles1. The difference in the extent benchmark looks like the cost of using QReadLocker.
      
      svn path=/trunk/koffice/; revision=1079846
      a0c1388c
    • Vera Lukman's avatar
      Early implementation of recent colours. Used foreground colours can be stored... · 944870a3
      Vera Lukman authored
      Early implementation of recent colours. Used foreground colours can be stored and accessed from the pop up palette. There is a bug here: If pop up palette is visible and a new colour is selected, the new colour will be added to the pop up palette when the user clicks on the canvas to hide the pop up palette. This is not a desired behaviour, ideally only used foregrounds are what we want to store.
      
      svn path=/trunk/koffice/; revision=1079835
      944870a3
    • Vera Lukman's avatar
      Changed QColor implementation for pop up palette to KoColor. Next: real... · 3d3e7b31
      Vera Lukman authored
      Changed QColor implementation for pop up palette to KoColor. Next: real integration with the system for the recent colour. I wonder where I should start.
      
      svn path=/trunk/koffice/; revision=1079787
      3d3e7b31
  2. 24 Jan, 2010 21 commits