cb29deed54
Note the new --conemu option to go with the format string.
Andrew Wood2026-08-01 14:52:25 +01:00
390cf01ce1
Add option -9 / --conemu to switch on OSC 9;4 sequences without having to use a custom --format string (#202).
Andrew Wood2026-08-01 14:51:15 +01:00
7387b80843
Added empty Italian message catalogue as requested.
Andrew Wood2026-08-01 14:01:54 +01:00
ed14b56a7c
Remove leftover "elapsed" file reference.
Andrew Wood2026-06-07 20:38:51 +01:00
ca7829b996
End the last command in the sed function with a semicolon to fix breakage on OpenBSD.
Andrew Wood2026-06-07 20:35:21 +01:00
1c99a3820b
Eliminate "\t" from sed substitutions.
Andrew Wood2026-06-07 20:30:20 +01:00
9258cee615
Don't rely on "\n" substituting a newline in a sed replacement - doesn't work on OpenBSD sed.
Andrew Wood2026-06-07 00:40:31 +01:00
c427c367c1
Add alternative sorting for systems without "sort -V".
Andrew Wood2026-06-07 00:28:11 +01:00
f58ad83c95
Try to use "-r" with cksum since on OpenBSD that gives the hash first.
Andrew Wood2026-06-07 00:10:19 +01:00
05f9adade5
Fall back to "cksum -a md5" if "md5sum" is not available.
Andrew Wood2026-06-07 00:04:19 +01:00
b29da37462
Use a maximum of 3/4 of the space in the temporary directory, to avoid the "quota exceeded" errors on /dev/shm seen on some OSes during testing.
Andrew Wood2026-06-06 19:57:39 +01:00
827614dd66
Note the timer addition to splice (and copy_file_range) to match what happens with a write.
Andrew Wood2026-06-06 00:52:37 +01:00
d075ddf1ed
Add timed signal interruption to the read side as well as the write, so that a non-write transfer method like splice or copy_file_range will still get interrupted if it takes too long.
Andrew Wood2026-06-05 23:30:49 +01:00
5971d622bd
Remove the TODO after testing confirmed that ENOSPC in copy_file_range causes fallback through splice() to read()/write() and eventually normal termination; and add more debugging.
Andrew Wood2026-06-05 23:01:07 +01:00
14ee298bc3
Fall back through the different transfer methods in a consistent way, so that after a copy_file_range failure, splice through intermediate pipes can still be tried (#196).
Andrew Wood2026-06-04 23:44:56 +01:00
07c1798b5e
Re-order and re-word for clarity so the user-visible features come first, and mention the extension to %T.
Andrew Wood2026-06-01 23:28:07 +01:00
9dbec3cf50
Remove the build directory after running the benchmarks in -d mode (#198).
Andrew Wood2026-06-01 21:41:32 +01:00
246d7701e4
Cap the amount passed to splice() and copy_file_range() to a specific value, don't just pass SIZE_MAX, since that value can cause errors, making the transfer fall back to read()/write().
Andrew Wood2026-06-01 21:36:38 +01:00
8f4bed3274
Remove the "directed output" tests since they give the same results as writing stdout to a file and can't be used with stdout going to a pipe; and add formatting options to show transfer buffer usage details (#198).
Andrew Wood2026-06-01 21:11:18 +01:00
ae0fe82d8a
Cast to unsigned long long to avoid issues on 32-bit systems (#196).
Andrew Wood2026-05-31 23:33:28 +01:00
76a8da7dc1
Cast in the other direction because on 32-bit systems a size_t is smaller than an off_t (#196).
Andrew Wood2026-05-31 22:29:54 +01:00
6130d65249
Use copy_file_range() for transfers if it is available (#196).
Andrew Wood2026-05-31 22:18:18 +01:00
85918358a5
Clean up at the end of a benchmark run, before the next one, in multi-sources mode; and remove the output files before starting each measurement.
Andrew Wood2026-05-31 01:43:54 +01:00
0331673e02
Minor documentation fixes, and update the version (#198).
Andrew Wood2026-05-31 01:16:41 +01:00
542c91cdbc
Correct the minimum temp space requirements since there are 2 input files and 2 output files, not 1 output file.
Andrew Wood2026-05-31 01:01:23 +01:00
868a054366
Add an option to read source tar.gz files from a directory and extract, compile, and benchmark pv from each one.
Andrew Wood2026-05-31 00:58:52 +01:00
ecfe1f72e3
Allow comparison between runs as well as between pv versions, with auto selection the default; add an option to only show the final line of each comparison so only the latest is shown; and add an option for a terse analysis format.
Andrew Wood2026-05-30 23:22:42 +01:00
703cf06b7e
Add an explanation to the version comparison report.
Andrew Wood2026-05-30 22:38:03 +01:00
3628ed5072
Show each measurement command in the analysis.
Andrew Wood2026-05-30 22:29:47 +01:00
067c9aa7a3
Line up the columns in the analysis report.
Andrew Wood2026-05-30 22:24:20 +01:00
9b3f37c233
Make the awk variable names more consistent.
Andrew Wood2026-05-30 21:59:04 +01:00
b20598ff72
Move measurement definitions into a list so that individual measurements can be selected to be run on their own.
Andrew Wood2026-05-30 21:52:29 +01:00
8bd5e89f92
Remove accidental extra field from mean and standard deviation reports, and add an analysis of how each measurement performs between PV versions.
Andrew Wood2026-05-30 20:10:24 +01:00
47ca0d8cf8
Provide a system ID to identify the host running test, the PV version, and a run ID for the whole test, as three separate fields in each output line, for easier processing later.
Andrew Wood2026-05-29 20:03:37 +01:00
5944115d94
Measure each type of transfer several times, and calculate the mean and standard deviation afterwards.
Andrew Wood2026-05-28 23:42:19 +01:00
b99026d7d7
Add a benchmark script to measure transfer rate and CPU usage of various options (#198).
Andrew Wood2026-05-27 23:27:56 +01:00
f72486d4e8
Don't cap splice() amounts to the transfer buffer size, since the transfer buffer isn't being used.
Andrew Wood2026-05-26 23:32:38 +01:00
e74cab6985
If discarding input but /dev/null can't be used as a splice() destination, fall back to normal read() rather than exiting with an error (#192).
Andrew Wood2026-05-26 22:36:58 +01:00
a0a097decb
Mention that the ETA will be displayed on the second part.
Andrew Wood2026-05-24 15:51:06 +01:00
6609500d90
Note the addition of a partial Georgian translation catalogue.
Andrew Wood2026-05-17 21:27:47 +01:00
905e27ad47
Remove overly specific edge-case error messages, where just the filename and the system error would suffice; replace all the different types of memory allocation error with "memory allocation failure", since the action for the end-user is the same in all cases; and use the error messages "memory allocation failure", "interrupted by a signal", "error closing file", "input file is also the output", and "write error" since these are all used by either coreutils and grep, in similar contexts, so their translations can be copied.
Andrew Wood2026-05-17 00:31:46 +01:00
df77b78e23
Merge pull request 'Translations update from Codeberg Translate' (#195) from translate/pv:weblate-pv-pv into main
Andrew Wood2026-05-16 21:27:26 +02:00
b51afc07e2
Correct the --bar-style description to use the same placeholder as in the option spec.
Andrew Wood2026-05-16 16:13:26 +01:00
813f6aaeab
Note the fixes in splice() handling.
Andrew Wood2026-05-16 16:12:39 +01:00
49adee62c4
Merge pull request 'Translations update from Codeberg Translate' (#194) from translate/pv:weblate-pv-pv into main
Andrew Wood2026-05-16 17:06:10 +02:00