This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test with: | |
- Python 3.4 | |
- Zend Framework 1.12.16 tar ungzipped, 104Mb | |
- Zstd: 0.4.6, 0.3.6, 0.0.1 | |
- System: | |
- CPU: AMD FX-8350 4GHz | |
- MEM: 16Gb DDR3-1600 | |
- OS: Ubuntu 14.04 amd64, Linux 3.19 | |
- CpuFreq: performance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
########################################################################## | |
# PHP Benchmark Performance Script # | |
# © 2010 Code24 BV # | |
# # | |
# Author : Alessandro Torrisi # | |
# Author : Sergey Dryabzhinsky # | |
# Company : Code24 BV, The Netherlands # | |
# Date : July 2, 2015 # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/lib/fse.c b/lib/fse.c | |
index a1aeea5..bee6afc 100644 | |
--- a/lib/fse.c | |
+++ b/lib/fse.c | |
@@ -84,6 +84,7 @@ | |
#include <stdlib.h> /* malloc, free, qsort */ | |
#include <string.h> /* memcpy, memset */ | |
#include <stdio.h> /* printf (debug) */ | |
+#include <assert.h> /* assert (debug) */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ../../fse_crash.bin | ./zstd -c > /dev/null | |
saved rank count: 0 | |
Ranks: | |
- index: 0, count=9 | |
- index: 1, count=8 | |
- index: 2, count=8 | |
- index: 3, count=8 | |
- index: 4, count=8 | |
- index: 5, count=8 | |
- index: 6, count=8 |
NewerOlder