Rizin
unix-like reverse engineering framework and cli tools
|
This directory contains the following programs and scripts:
datagen
: Synthetic and parametrable data generator, for testsframetest
: Test tool that checks lz4frame integrity on target platformfullbench
: Precisely measure speed for each lz4 inner functionsfuzzer
: Test tool, to check lz4 integrity on target platformtest-lz4-speed.py
: script for testing lz4 speed difference between commitstest-lz4-versions.py
: compatibility test between lz4 versions stored on Githubtest-lz4-versions.py
- script for testing lz4 interoperability between versionsThis script creates versionsTest
directory to which lz4 repository is cloned. Then all taged (released) versions of lz4 are compiled. In the following step interoperability between lz4 versions is checked.
test-lz4-speed.py
- script for testing lz4 speed difference between commitsThis script creates speedTest
directory to which lz4 repository is cloned. Then it compiles all branches of lz4 and performs a speed benchmark for a given list of files (the testFileNames
parameter). After sleepTime
(an optional parameter, default 300 seconds) seconds the script checks repository for new commits. If a new commit is found it is compiled and a speed benchmark for this commit is performed. The results of the speed benchmark are compared to the previous results. If compression or decompression speed for one of lz4 levels is lower than lowerLimit
(an optional parameter, default 0.98) the speed benchmark is restarted. If second results are also lower than lowerLimit
the warning e-mail is send to recipients from the list (the emails
parameter).
Additional remarks:
maxLoadAvg
(an optional parameter, default 0.75)mutt
; if mutt
is not available it sends e-mails without attachments using mail
; if both are not available it only prints a warningThe example usage with two test files, one e-mail address, and with an additional message:
To run the script in background please use:
The full list of parameters:
All files in this directory are licensed under GPL-v2. See [COPYING](COPYING) for details. The text of the license is also included at the top of each source file.