Results 1 to 11 of 11

Thread: Help beta testing QuickLZ 1.40 with the new test framework

  1. #1
    Programmer
    Join Date
    May 2008
    Location
    denmark
    Posts
    94
    Hi all,

    I've made a test framework which runs in IDLE_PRIORITY_CLASS, compressing, decompressing and verifying data of a given directory/drive.

    If anyone has some idle CPU cycles and large amounts of data, you can contribute: http://www.quicklz.com/beta140.html

    Source included.

  2. #2
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,257
    Thanks, will look at it!

  3. #3
    Member
    Join Date
    Oct 2007
    Location
    Germany, Hamburg
    Posts
    393
    I didn?t get any error on much tested data.
    But any logfile-output at the end of every candidate wouldn?t bad (mb of tested data, maybe any avarage percent of the ratio...)

  4. #4
    Thanks Lasse!

  5. #5
    Programmer
    Join Date
    May 2008
    Location
    denmark
    Posts
    94
    Thanks for testing, Simon - will think about adding a log.

    I'm thinking about adding a prize for finding a bug...

  6. #6
    Member
    Join Date
    Oct 2007
    Location
    Germany, Hamburg
    Posts
    393
    do you really think there could be one?
    The algorithm seems to be more or less simple (handles all data the same). I had many strange files in the tested folders.

  7. #7
    After 4 hours and 250 GB of data I found out only first executable was tested This will take a bit longer I guess...

  8. #8
    Programmer
    Join Date
    May 2008
    Location
    denmark
    Posts
    94
    Black_Fox, great - keep testing, I really appreciate it

    Simon Berger: The algorithm is relatively simple, but look at LZF 3.0 (from 2007) which is even simpler and still had a bug. There are so many things that could go wrong:

    a) regular data errors
    b) spurious memory access, for example a read-access 1 byte beyond input buffer, which are dangerous because they normally go undetected until some random time.
    c) specification errors according to manual, such as exceeding (original size) + 400 in the case for quicklz 1.40
    d) strange behaviour which are not "bugs" such as being really really slow in certain siturations (in a development version I had a bug that made compression take minutes for just 1 kbyte of certain kinds of data), or suddenly losing compression ratio (for example, hash table getting corrupted). Many often forget to test "strange behaviour".

    That was just a few things out of many. I have to test all this for all combinations of compression level, streaming buffer, etc, and on multiple operating systems and architectures.

  9. #9
    Tester
    Stephan Busch's Avatar
    Join Date
    May 2008
    Location
    Bremen, Germany
    Posts
    355
    Dear Lasse,

    I have added you to the hall of fame because you created QuickLZ - please let me know if you allow me to do so. If you want to have a photo / birthday added, please let me know as well.


    Yours,

    Stephan

  10. #10
    Programmer
    Join Date
    May 2008
    Location
    denmark
    Posts
    94
    Hi Stephan,

    Wow, cool, thanks alot

    I have uploaded a picture at www.quicklz.com/orig.tif.

  11. #11
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    2,601
    btw, i've used for the same purpose freearc (and found 3 very rare errors in tornado, although it's much more complex algorithm. OTOH, quicklz is commercial library so i understand your need to highest level of testing). look at http://encode.ru/forums/index.php?ac...page=0#msg9695

    i don't added there that fa allows to split data in independent solid blocks of given size, so you can test it not only file-wise

Similar Threads

  1. Beta Test: CWSDPMI r7 - 4GB support
    By Rugxulo in forum Data Compression
    Replies: 2
    Last Post: 13th January 2010, 00:41
  2. qpress 0.37 (quicklz 1.4.1 beta 2) optimized compile
    By M4ST3R in forum Download Area
    Replies: 7
    Last Post: 16th September 2009, 23:30
  3. What's wrong with my testing script?
    By m^2 in forum Data Compression
    Replies: 20
    Last Post: 21st September 2008, 20:24
  4. QuickLZ 1.40
    By Lasse Reinhold in forum Forum Archive
    Replies: 6
    Last Post: 16th November 2007, 07:29
  5. QuickLZ 1.20 beta Win32 version released!
    By LovePimple in forum Forum Archive
    Replies: 1
    Last Post: 20th February 2007, 18:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts