Sjoerd Simons
f61514edaf
Allow disabling bzip2 compression for index files
Using bzip2 generates smaller index files (roughly 20% smaller Packages
files) but it comes with a big performance penalty. When publishing a
debian mirror snapshot (amd64, arm64, armhf, source) without contents
skipping bzip speeds things up around 1.8 times.
```
$ hyperfine -w 1 -L skip-bz2 true,false -m 3 -p "aptly -config aptly.conf publish drop bullseye || true" "aptly -config aptly.conf publish snapshot --skip-bz2={skip-bz2} --skip-contents --skip-signing bullseye"
Benchmark 1: aptly -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye
Time (mean ± σ): 35.567 s ± 0.307 s [User: 39.366 s, System: 10.075 s]
Range (min … max): 35.311 s … 35.907 s 3 runs
Benchmark 2: aptly -config aptly.conf publish snapshot --skip-bz2=false --skip-contents --skip-signing bullseye
Time (mean ± σ): 64.740 s ± 0.135 s [User: 68.565 s, System: 10.129 s]
Range (min … max): 64.596 s … 64.862 s 3 runs
Summary
'aptly -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye' ran
1.82 ± 0.02 times faster than 'aptly -config aptly.conf publish snapshot --skip-bz2=false --skip-contents --skip-signing bullseye'
```
Allow skipping bz2 creation for setups where faster publishing is more
important then Package file size.
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
2022-06-22 11:25:45 +02:00
..
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2014-06-27 22:29:01 +04:00
2014-08-05 17:01:18 +04:00
2017-03-31 00:57:18 +03:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2017-04-28 00:05:11 +03:00
2017-08-15 19:08:17 -07:00
2017-04-28 00:05:11 +03:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-07-05 15:08:02 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-13 20:25:40 +02:00
2017-04-26 23:17:03 +03:00
2021-09-24 10:29:33 +02:00
2014-04-22 17:51:29 +04:00
2014-04-22 17:51:29 +04:00
2014-06-03 17:09:00 +04:00
2014-04-22 17:51:29 +04:00
2014-06-03 17:09:00 +04:00
2014-07-21 17:43:12 +04:00
2017-08-09 01:26:47 +03:00
2017-08-15 19:08:17 -07:00
2017-08-15 19:08:17 -07:00
2014-04-16 00:22:11 +04:00
2017-07-05 15:08:02 +02:00
2014-04-15 23:53:53 +04:00
2021-09-24 10:29:33 +02:00
2021-09-24 10:29:33 +02:00
2019-07-04 00:16:12 +03:00
2015-04-02 01:19:51 +03:00
2018-04-11 00:57:15 +03:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2017-04-26 23:17:04 +03:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2014-03-26 19:44:38 +04:00
2014-06-03 17:09:00 +04:00
2014-06-03 17:09:00 +04:00
2014-03-26 19:44:38 +04:00
2014-03-26 19:44:38 +04:00
2014-03-26 19:44:38 +04:00
2014-03-26 19:44:38 +04:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2014-05-31 21:13:30 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2014-09-27 01:56:35 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-27 23:30:04 +04:00
2014-08-05 17:01:18 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2014-09-30 21:51:38 +04:00
2014-09-30 21:51:38 +04:00
2016-02-18 12:01:51 +03:00
2015-04-05 22:47:19 +03:00
2017-04-26 23:17:03 +03:00
2017-07-26 00:31:27 +03:00
2017-07-28 22:37:20 +03:00
2018-10-10 01:34:58 +03:00
2022-06-22 11:25:45 +02:00
2017-01-10 10:59:07 +01:00
2017-01-10 10:59:07 +01:00
2021-09-24 10:29:33 +02:00
2021-09-24 10:29:33 +02:00
2015-04-02 01:19:51 +03:00
2015-04-02 01:19:51 +03:00
2014-09-27 01:56:35 +04:00
2015-02-09 19:23:41 +03:00
2015-02-09 19:23:41 +03:00
2017-07-05 15:08:02 +02:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:56:35 +04:00
2014-03-19 16:43:42 +04:00
2017-07-05 15:08:02 +02:00
2017-07-05 15:08:02 +02:00
2014-01-31 19:04:44 +04:00
2014-01-31 19:04:44 +04:00
2014-01-31 19:04:44 +04:00
2014-01-31 19:04:44 +04:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-05-31 21:13:30 +04:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2015-06-26 03:14:22 +03:00
2019-07-04 00:16:12 +03:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2017-04-26 23:17:04 +03:00
2014-03-19 16:43:42 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2014-03-26 21:40:17 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:56:35 +04:00
2014-09-27 01:56:35 +04:00
2016-02-18 12:01:51 +03:00
2014-09-27 01:56:35 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-06-06 02:09:13 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-09-27 01:56:35 +04:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2019-09-06 23:42:56 +03:00
2015-04-05 22:47:19 +03:00
2019-07-04 00:16:12 +03:00
2019-07-04 00:16:12 +03:00
2021-02-08 10:52:27 +01:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2019-09-06 23:42:56 +03:00
2022-06-22 11:25:45 +02:00
2014-04-22 20:17:21 +04:00
2017-07-05 15:08:02 +02:00
2017-07-05 15:08:02 +02:00
2015-02-09 19:23:41 +03:00
2014-09-27 01:39:02 +04:00
2017-07-05 15:08:02 +02:00
2014-09-27 01:39:02 +04:00
2014-07-21 17:43:12 +04:00
2014-04-22 20:17:21 +04:00
2014-04-22 20:17:21 +04:00
2015-02-09 19:23:41 +03:00
2014-06-07 15:18:58 +04:00
2019-07-04 00:16:12 +03:00
2014-09-27 01:39:02 +04:00
2016-02-18 12:01:51 +03:00
2014-06-07 15:18:58 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-09-27 01:39:02 +04:00
2015-02-06 20:16:00 +03:00
2017-07-05 15:08:02 +02:00
2017-08-15 19:08:17 -07:00
2017-08-15 19:08:17 -07:00
2017-08-15 19:08:17 -07:00
2022-06-22 11:25:45 +02:00
2019-07-04 00:16:12 +03:00
2014-09-27 01:39:02 +04:00
2016-02-18 12:01:51 +03:00
2014-04-22 18:35:20 +04:00
2016-02-18 12:01:51 +03:00
2014-09-27 01:39:02 +04:00
2017-04-26 23:17:04 +03:00
2014-09-27 01:39:02 +04:00
2014-09-27 01:39:02 +04:00
2014-08-05 15:58:47 +04:00
2014-04-22 18:35:20 +04:00
2014-06-06 03:00:44 +04:00
2016-02-18 12:01:51 +03:00
2014-09-27 01:39:02 +04:00
2017-04-26 23:17:04 +03:00
2014-06-06 03:00:44 +04:00
2014-09-27 01:39:02 +04:00
2014-08-05 17:01:18 +04:00
2014-08-05 17:01:18 +04:00
2014-09-27 01:39:02 +04:00
2015-04-05 21:55:41 +03:00
2019-07-04 00:16:12 +03:00
2017-08-15 19:08:17 -07:00
2017-08-15 19:08:17 -07:00
2017-08-15 19:08:17 -07:00
2022-06-22 11:25:45 +02:00
2022-06-22 11:25:45 +02:00
2019-07-04 00:16:12 +03:00
2016-02-18 12:01:51 +03:00
2014-10-01 17:48:51 +04:00
2016-02-18 12:01:51 +03:00
2017-04-26 23:17:04 +03:00
2016-02-18 12:01:51 +03:00
2014-10-01 17:48:51 +04:00
2016-02-18 12:01:51 +03:00
2014-10-01 17:48:51 +04:00
2014-10-01 17:48:51 +04:00
2017-07-07 00:14:03 +03:00
2017-07-07 00:14:03 +03:00
2014-10-01 17:48:51 +04:00
2014-10-01 17:48:51 +04:00
2017-09-28 18:30:50 +03:00
2017-09-28 18:30:50 +03:00
2017-09-28 18:30:50 +03:00
2017-09-28 18:30:50 +03:00
2021-09-24 10:29:33 +02:00
2022-06-22 11:25:45 +02:00
2019-07-04 00:16:12 +03:00
2016-02-18 12:29:12 +03:00
2015-02-05 17:56:09 +01:00
2016-02-18 12:29:12 +03:00
2017-04-26 23:17:04 +03:00
2016-02-18 12:29:12 +03:00
2015-02-05 17:56:09 +01:00
2016-02-18 12:29:12 +03:00
2015-02-05 17:56:09 +01:00
2015-02-05 17:56:09 +01:00
2017-07-07 00:14:03 +03:00
2017-07-07 00:14:03 +03:00
2015-02-05 17:56:09 +01:00
2015-02-05 17:56:09 +01:00
2022-06-22 11:25:45 +02:00
2022-06-22 11:25:45 +02:00