Commit Graph
1171 Commits
Author SHA1 Message Date
Andrew Wood 76a8da7dc1 Cast in the other direction because on 32-bit systems a size_t is smaller than an off_t (#196). 2026-05-31 22:29:54 +01:00
Andrew Wood 6130d65249 Use copy_file_range() for transfers if it is available (#196). 2026-05-31 22:18:18 +01:00
Andrew Wood 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. 2026-05-31 01:43:54 +01:00
Andrew Wood 0331673e02 Minor documentation fixes, and update the version (#198). 2026-05-31 01:16:41 +01:00
Andrew Wood 542c91cdbc Correct the minimum temp space requirements since there are 2 input files and 2 output files, not 1 output file. 2026-05-31 01:01:23 +01:00
Andrew Wood 868a054366 Add an option to read source tar.gz files from a directory and extract, compile, and benchmark pv from each one. 2026-05-31 00:58:52 +01:00
Andrew Wood 549db120db Documentation cleanup. 2026-05-30 23:49:58 +01:00
Andrew Wood 0a1e53c2db Silence the warning about tr. 2026-05-30 23:24:49 +01:00
Andrew Wood 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. 2026-05-30 23:22:42 +01:00
Andrew Wood 703cf06b7e Add an explanation to the version comparison report. 2026-05-30 22:38:03 +01:00
Andrew Wood 3628ed5072 Show each measurement command in the analysis. 2026-05-30 22:29:47 +01:00
Andrew Wood 067c9aa7a3 Line up the columns in the analysis report. 2026-05-30 22:24:20 +01:00
Andrew Wood 9b3f37c233 Make the awk variable names more consistent. 2026-05-30 21:59:04 +01:00
Andrew Wood b20598ff72 Move measurement definitions into a list so that individual measurements can be selected to be run on their own. 2026-05-30 21:52:29 +01:00
Andrew Wood 8bd5e89f92 Remove accidental extra field from mean and standard deviation reports, and add an analysis of how each measurement performs between PV versions. 2026-05-30 20:10:24 +01:00
Andrew Wood 905894f294 Rename the new benchmark script. 2026-05-29 22:17:27 +01:00
Andrew Wood 453bcec11a Accept command line options, and allow addition of an analysis step later. 2026-05-29 22:16:25 +01:00
Andrew Wood a984ab5dd3 Be less specific and so more accurate. 2026-05-29 21:24:33 +01:00
Andrew Wood 624097639f Message line number updates. 2026-05-29 21:09:47 +01:00
Andrew Wood 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. 2026-05-29 20:03:37 +01:00
Andrew Wood 5944115d94 Measure each type of transfer several times, and calculate the mean and standard deviation afterwards. 2026-05-28 23:42:19 +01:00
Andrew Wood b99026d7d7 Add a benchmark script to measure transfer rate and CPU usage of various options (#198). 2026-05-27 23:27:56 +01:00
Andrew Wood f72486d4e8 Don't cap splice() amounts to the transfer buffer size, since the transfer buffer isn't being used. 2026-05-26 23:32:38 +01:00
Andrew Wood 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). 2026-05-26 22:36:58 +01:00
Andrew Wood a0a097decb Mention that the ETA will be displayed on the second part. 2026-05-24 15:51:06 +01:00
Andrew Wood d0b230bceb Reword the explanation. 2026-05-24 15:29:01 +01:00
Andrew Wood 63f4a0bc39 Datestamp update. 2026-05-24 15:03:42 +01:00
Andrew Wood 983f75c7df Message line number updates. 2026-05-23 00:33:08 +01:00
Andrew Wood e043efd259 Handle splice failures more robustly when the intermediate pipe is involved. 2026-05-23 00:32:50 +01:00
Andrew Wood 7e99aa5b13 Expand the description of --no-splice. 2026-05-22 21:43:30 +01:00
Andrew Wood 2d08b3208a Expand the explanation of "--name" and "--cursor" and remove "you". 2026-05-22 21:31:09 +01:00
Andrew Wood 944ae9aca1 Reword to remove implied agency. 2026-05-22 21:18:34 +01:00
Andrew Wood e82d5e48f4 Simplify the explanation of --delay-start. 2026-05-22 21:15:06 +01:00
Andrew Wood 98c92e0239 Make the --wait example a little clearer. 2026-05-22 20:52:42 +01:00
Andrew Wood 6c5d86c66f Add the missing closing bracket. 2026-05-22 20:44:43 +01:00
Andrew Wood 9d96c7d6eb Fill in more empty translations, using coreutils translations as a guide. 2026-05-21 21:31:43 +01:00
Andrew Wood 1f27ba3b35 Try to explain more clearly. 2026-05-20 22:58:53 +01:00
Andrew Wood 4aa73d5fc6 Note the updated translations. 2026-05-19 21:30:28 +01:00
Andrew Wood 50150d0d66 Fill in empty translations, move accidentally repeated comment. 2026-05-19 21:22:05 +01:00
Andrew Wood 192566a9fd Fill in empty translations and make capitalisation more consistent. 2026-05-19 21:21:24 +01:00
Andrew Wood 6dcb41f2fa Fill in empty translations. 2026-05-19 21:20:02 +01:00
Andrew Wood 54b0c8bc23 Datestamp update. 2026-05-18 22:00:54 +01:00
Andrew Wood 6609500d90 Note the addition of a partial Georgian translation catalogue. 2026-05-17 21:27:47 +01:00
Andrew Wood 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. 2026-05-17 00:31:46 +01:00
Andrew Wood df77b78e23 Merge pull request 'Translations update from Codeberg Translate' (#195) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/195
2026-05-16 21:27:26 +02:00
a-j-woodandCodeberg Translate 87f2326012 Translated using Weblate (Georgian)
Currently translated at 54.0% (80 of 148 strings)

Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/ka/
2026-05-16 19:25:57 +00:00
Andrew Wood a0cd6a5d18 Describe the values in the --stats line in the correct order. 2026-05-16 20:21:31 +01:00
Andrew Wood e11d1dec19 Message line number updates. 2026-05-16 16:13:51 +01:00
Andrew Wood b51afc07e2 Correct the --bar-style description to use the same placeholder as in the option spec. 2026-05-16 16:13:26 +01:00
Andrew Wood 813f6aaeab Note the fixes in splice() handling. 2026-05-16 16:12:39 +01:00