Branch: Tag:

2015-07-13

2015-07-13 12:02:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Shoot: Added huffman benchmarks.

1: + #pike __REAL_VERSION__ + inherit Tools.Shoot.Test;    -  + constant name="Huffman"; +  + string(8bit) data = Stdio.read_bytes(master()->_master_file_name); +  + int perform() + { +  string(8bit) h = Standards.HPack.huffman_encode(data); +  string(8bit) d = Standards.HPack.huffman_decode(h); +  return sizeof(data); + }   Newline at end of file added.