Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They weren't helping. With the 65536-byte packet tests (1500 would perhaps be more representative but didn't make them look any better): a99260d Add LZS test harness Samples: 6K of event 'cycles', Event count (approx.): 5627230524 Overhead Samples Command Shared Object Symbol 69.71% 4498 lzstest lzstest [.] lzs_compress 12.91% 834 lzstest lzstest [.] lzs_decompress 6915682 Reduce per-packet computation overhead for LZS compression Samples: 7K of event 'cycles', Event count (approx.): 6190866454 Overhead Samples Command Shared Object Symbol 71.37% 5050 lzstest lzstest [.] lzs_compress 11.67% 826 lzstest lzstest [.] lzs_decompress 64d6b19 Simplify LZS compression again Samples: 6K of event 'cycles', Event count (approx.): 6074401505 Overhead Samples Command Shared Object Symbol 71.27% 4923 lzstest lzstest [.] lzs_compress 11.54% 797 lzstest lzstest [.] lzs_decompress The memset() just isn't as expensive as the other tricks we play to avoid it. So let's just stick with the simple version for now, unless someone comes up with some better ideas. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jan 7, 2015
1 parent
64d6b19
commit 44476f1
Showing
6 changed files
with
31 additions
and
85 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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