Skip to content

Commit

Permalink
HPCC-32815 Regression suite - make stresstext timings more representa…
Browse files Browse the repository at this point in the history
…tive

- avoid compressing search source otherwise the decompression locking predominates

Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Nov 1, 2024
1 parent 6131e81 commit 4d5f940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/regress/ecl/setup/setuptext.ecl
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ shakespeareStream := normalizeWordFormat(convertTextFileToInversion(4, Directory
doCreateSearchDocument() := FUNCTION
projected := TABLE(inputStream, { kind, word, doc, segment, wpos });
resorted := SORT(projected, kind, word, doc, segment, wpos, LOCAL); // Ensure the ordering is consistent
RETURN OUTPUT(projected,, Files.NameSearchSource, THOR, OVERWRITE, COMPRESSED);
RETURN OUTPUT(projected,, Files.NameSearchSource, THOR, OVERWRITE, UNCOMPRESSED); // Do not compress the output, otherwise it skews the timings for stresstext.ecl
END;

exports := MODULE
Expand Down

0 comments on commit 4d5f940

Please sign in to comment.