Diffusion nofib 042cf0be9e6f

Compare results of compress by hashing

Authored by sgraf on Dec 26 2018, 6:45 AM.

Description

Compare results of compress by hashing

Summary:
We don't want the result in the repo as it's a sizeable binary file that
doesn't compress well.

Storing the output file in the repository becomes infeasible for large
inputs. There are two possible remedies:

  1. Generate the result files during make boot (Phab:D5426). We discovered some drawbacks (like missing dependency files to build compress during boot) to this approach which make it infeasible.
  2. Shrink the output files, for example by hashing the string that we would normally output and compare that instead.

This patch implements the second alternative. This somewhat distorts the
runtime profile, so we might want to consider doing hashing within the
benchmark runner in the future.

Test Plan: make boot

Reviewers: AndreasK, nomeata, O26 nofib, osa1

Reviewed By: AndreasK, osa1

Subscribers: osa1

Differential Revision: https://phabricator.haskell.org/D5469

Details

Committed
sgrafDec 26 2018, 7:04 AM
Reviewer
AndreasK
Differential Revision
D5469: Compare results of compress by hashing
Parents
rNOFIB44fc21a315d0: Fix some broken links (#15733)
Branches
Unknown
Tags
Unknown