Commit Graph

  • facedfd3a1 [Tests] Expand extra field in extra field GZip test Timofey Solomko 2022-10-21 18:57:57 +03:00
  • d0479a19e7 [Tests] Change gzip archive test to also generate a random extra field Timofey Solomko 2022-10-14 20:26:04 +03:00
  • dafd474b96 [GZip] Add a new parameter with a default value to GzipArchive.archive which allows to set any extra fields Timofey Solomko 2022-10-14 20:23:19 +03:00
  • 31d5839e71 [Tests] Add tests for gzip header's extra fields and other optional format features Timofey Solomko 2022-10-14 20:02:02 +03:00
  • 03e23231fa [GZip] Add processing of extra fields in GzipHeader Timofey Solomko 2022-10-14 19:59:18 +03:00
  • 241e523ba7 [GZip] Add a struct that represents header's extra field Timofey Solomko 2022-10-14 19:57:20 +03:00
  • c5362651dd [GZip] Change GzipHeader properties to var instead of let Timofey Solomko 2022-10-14 19:32:23 +03:00
  • f9297d96a1 [GZip] Reject non byte-aligned members Timofey Solomko 2022-10-14 19:30:39 +03:00
  • ae6a99ff15 Add minimum deployment version for Darwin platforms in SPM manifest Timofey Solomko 2022-10-12 14:18:54 +03:00
  • 5becb3f6db utils.py: add a command which automates bumping release version Timofey Solomko 2022-10-12 13:40:07 +03:00
  • 9d4ad9296f [CI] SPM builds include swcomp on macos and linux Timofey Solomko 2022-10-12 13:15:17 +03:00
  • 987111c620 [swcomp] Fix build issues on linux and windows due to absence of autoreleasepool Timofey Solomko 2022-10-12 13:13:59 +03:00
  • 7cf26da9cb [swcomp] Optimize printing in benchmark show Timofey Solomko 2022-10-11 21:25:21 +03:00
  • d3143d58b4 [swcomp] Perform benchmark speed computations using nanosecond time resolution Timofey Solomko 2022-10-11 21:14:11 +03:00
  • 5187f34a9d [swcomp] Reuse saved benchmark metadata if possible Timofey Solomko 2022-10-11 10:38:43 +03:00
  • 9a948f8584 [swcomp] Make benchmark results timestamp optional by introducing --preserve-timestamp option Timofey Solomko 2022-10-11 10:38:17 +03:00
  • 708e1bbade [swcomp] Add --append option to benchmark run Timofey Solomko 2022-10-10 22:00:21 +03:00
  • f3ca7a7ff5 [swcomp] Print brackets around metadata numbers Timofey Solomko 2022-10-10 21:59:25 +03:00
  • f47d541882 [swcomp] Introduce a new, more flexible version of the save file format Timofey Solomko 2022-10-10 17:37:56 +03:00
  • 899cf8a815 [swcomp] Add --description option to the benchmark run command Timofey Solomko 2022-10-06 15:14:04 +03:00
  • b660005a7c [swcomp] Print saved metadata Timofey Solomko 2022-10-06 15:08:27 +03:00
  • 577531c4be [swcomp] Use SaveFile for saving and loading benchmark results Timofey Solomko 2022-10-06 14:26:59 +03:00
  • a3e439aff5 [swcomp] Add SaveFile struct for saving additional benchmark metadata Timofey Solomko 2022-10-06 14:26:29 +03:00
  • 269ae9b1f3 [swcomp] SWC version is now stored as a global variable Timofey Solomko 2022-10-06 13:31:07 +03:00
  • 1c98d5316d [swcomp] Perform comparison with the first result when there are multiple Timofey Solomko 2022-10-06 12:55:15 +03:00
  • 4e4f734ab0 [swcomp] Add "benchmark show" command Timofey Solomko 2022-10-05 20:44:05 +03:00
  • f47cf14f26 [swcomp] Improve loading and printing of base benchmark results Timofey Solomko 2022-10-05 20:33:27 +03:00
  • 61eb547202 [swcomp] Extract comparison printing as a new function Timofey Solomko 2022-10-05 18:07:47 +03:00
  • e84040b156 [swcomp] Add benchmark command group Timofey Solomko 2022-10-05 15:07:54 +03:00
  • dca723d940 [swcomp] Rename benchmark command to run command and add a long description Timofey Solomko 2022-10-05 15:07:38 +03:00
  • 56f9533372 [CI] Upgrade to Xcode 14.0.1 and upgrade deploy setup Timofey Solomko 2022-10-05 15:07:03 +03:00
  • 5419717624 Merge branch 'develop' 4.8.2 Timofey Solomko 2022-09-24 14:34:39 +03:00
  • bba5eb7b61 Prepare for 4.8.2 release Timofey Solomko 2022-09-24 14:34:02 +03:00
  • aa41f5c7cb Update README to mention version 4.8 and adjust swcomp and "why" sections Timofey Solomko 2022-09-24 14:33:14 +03:00
  • 55cc5a9036 [docs] Remove mentions of "older than Swift 5.2" versions since they are no longer supported Timofey Solomko 2022-09-24 14:27:21 +03:00
  • 2cda74eb06 [CI] Build only SWCompression target with SPM Timofey Solomko 2022-09-24 14:05:23 +03:00
  • 6b3af8c7a8 Upgrade xcode project compatibility project according to Swift 5.2 minimum Timofey Solomko 2022-09-24 13:48:23 +03:00
  • 03d7daee9f Add names of dependecies packages to SPM manifest Timofey Solomko 2022-09-24 13:46:42 +03:00
  • f7f9ccaeb1 Enable swcomp in SPM manifest by default Timofey Solomko 2022-09-24 13:26:37 +03:00
  • 52886a0bbf [TAR] Remove compatibility with pre-Swift 5.2 compilers Timofey Solomko 2022-09-24 13:25:39 +03:00
  • b59d1eedd7 Set icu path and one more additional path var in windows CI Timofey Solomko 2022-09-23 21:12:26 +03:00
  • 7f6cd9d1ab Set icu version as an env variable in windows CI (except for Swift 5.7; i don't know where they've hidden it) Timofey Solomko 2022-09-23 20:06:37 +03:00
  • 78459b710a [Deflate] Fix incorrect truncation check when processing uncompressed blocks Timofey Solomko 2022-09-23 19:45:06 +03:00
  • da09a6291f Reenable swift 5.6 and swift 5.7 in CI Timofey Solomko 2022-09-23 19:44:40 +03:00
  • a8ae2ce273 Update icu path in windows CI to include all versions Timofey Solomko 2022-09-23 19:37:16 +03:00
  • c54b796ef6 Fix build issues on ios due to some architectures being no longer supported Timofey Solomko 2022-09-23 19:26:29 +03:00
  • 88ab3373c6 Xcode 14-related updates: drop support for swift 5.1, increase deployment targets on darwin platforms, enable dead code stripping and eager linking in xcode project, add swift 5.7 to CI, update macos-10.15 to macos-11 and ubuntu-18.04 to ubuntu-20.04 in CI due to deprecations Timofey Solomko 2022-09-23 13:28:46 +03:00
  • 1de0d9bd04 [Tests] Report test details on failures in deflate truncation tests Timofey Solomko 2022-05-21 23:00:57 +03:00
  • 2b47fb7f49 [Deflate] Replace computation of static tree codes from lenghts with precomputed codes Timofey Solomko 2022-05-21 21:38:00 +03:00
  • f06858029b [Tests] Add a test for deflate truncations Timofey Solomko 2022-05-21 20:15:03 +03:00
  • e500dfc5d9 [Deflate] Add guards against truncated inputs Timofey Solomko 2022-05-20 21:46:57 +03:00
  • 41a1474b8c [swcomp] Implement --list option for container commands Timofey Solomko 2022-05-20 17:11:19 +03:00
  • c9e10ebc35 [swcomp] Rework exiting with error codes Timofey Solomko 2022-05-20 17:00:22 +03:00
  • 4db7c8053a Use xcode 13.4 for swift 5.6 in ci and upgrade xcode project Timofey Solomko 2022-05-18 16:28:39 +03:00
  • 74ae7c2edc [GZip] Adjust detection of truncated inputs Timofey Solomko 2022-05-17 13:33:04 +03:00
  • d63fb86f49 [Tests] Add a test for the minimal GZip file and other edge cases Timofey Solomko 2022-05-17 13:31:58 +03:00
  • bf0a48f78f Update windows CI: remove unnecessary configuration steps and vars, disable swift 5.6 since I cannot make it work Timofey Solomko 2022-05-17 12:59:54 +03:00
  • c407bcfb9c [swcomp] Add comparison with saved results via --compare option Timofey Solomko 2022-05-15 16:20:41 +03:00
  • 5db42cfb1c [swcomp] Add --save option which allows to save benchmarking results in json format Timofey Solomko 2022-05-15 15:27:33 +03:00
  • 5daac3cd0a [swcomp] Add -W shorthand for the --no-warmup option Timofey Solomko 2022-05-15 15:27:00 +03:00
  • 4e0dea7d86 Merge branch 'hotfix-4.8.1' into develop Timofey Solomko 2022-05-13 21:16:19 +03:00
  • 0714d4421e Merge branch 'hotfix-4.8.1' 4.8.1 Timofey Solomko 2022-05-13 21:15:35 +03:00
  • f72ed96e48 Prepare for 4.8.1 release Timofey Solomko 2022-05-13 21:15:21 +03:00
  • 0f2b393c5c [GZip] Fix incorrect detection of truncated archives Timofey Solomko 2022-05-13 21:10:47 +03:00
  • 7d78dd8866 CI updates: Add swift 5.6 on macos, upgrade swift to 5.6.1 on linux and windows Timofey Solomko 2022-04-20 22:02:32 +03:00
  • 0939a64361 Upgrade xcode project to 13.3, add swift 5.6 in CI (except macos), update xcode for swift 5.5 in ci to 13.2.1 Timofey Solomko 2022-03-18 18:05:58 +03:00
  • 985ceb6cf8 [swcomp] Replace useSpeedFormatter with format function Timofey Solomko 2022-02-20 21:57:15 +03:00
  • 8796c42b5f Gitignore launch.json Timofey Solomko 2022-02-20 21:50:22 +03:00
  • 140c197c2e [swcomp] Change defaultIterationCount to instance variable Timofey Solomko 2022-02-20 21:49:07 +03:00
  • ee90c99ec6 [swcomp] Add benchmarks for compression ratio Timofey Solomko 2022-02-20 19:05:46 +03:00
  • ebfcdfa9d2 [swcomp] Benchmarks can now disable speed formatter Timofey Solomko 2022-02-20 18:52:07 +03:00
  • 5423fd9fb5 [swcomp] Replace speed uncertainty with standard deviation Timofey Solomko 2022-02-20 18:44:17 +03:00
  • 62c2ce8494 [swcomp] Benchmarks can now customize default iteration count Timofey Solomko 2022-02-20 16:20:07 +03:00
  • 9bdf7fe18e Update swift in CI to 5.5.3 Timofey Solomko 2022-02-20 16:11:40 +03:00
  • 65d50a8ff7 [swcomp] Rewrite the benchmarking system Timofey Solomko 2022-01-30 20:32:03 +03:00
  • 8302790ae2 [swcomp] Add --no-warmup option to benchmark commands Timofey Solomko 2022-01-24 21:31:54 +03:00
  • 3ac1a6b378 [swcomp] Add --iteration-count option to benchmark commands Timofey Solomko 2022-01-24 20:25:38 +03:00
  • 1b7a28b319 Add benchmark results for 4.8.0 including TAR Reader/Writer Timofey Solomko 2022-01-24 00:19:14 +03:00
  • a675323c60 [swcomp] Use custom SpeedFormatter instead of ByteCountFormatter Timofey Solomko 2022-01-23 23:20:20 +03:00
  • 4ef8d55166 Merge branch 'release-4.8.0' into develop Timofey Solomko 2022-01-23 18:57:54 +03:00
  • 4ad6940f29 Merge branch 'release-4.8.0' 4.8.0 Timofey Solomko 2022-01-23 18:57:24 +03:00
  • 86090a4b67 Prepare for 4.8.0 release Timofey Solomko 2022-01-23 18:56:51 +03:00
  • f9994d6e6f [docs] Minor change to TarWriter documentation Timofey Solomko 2022-01-23 18:56:33 +03:00
  • 13a7da9be0 [docs] Reorganize Containers jazzy category into separate categories Timofey Solomko 2022-01-22 16:25:01 +03:00
  • 1d57f6adc1 [docs] Mention obj-c exceptions and swift 5.2 issues in the docs for TarReader/Writer Timofey Solomko 2022-01-22 16:24:26 +03:00
  • 552cb31336 [docs] Add documentation for TarReader Timofey Solomko 2022-01-22 14:26:54 +03:00
  • 859178d5f2 [docs] Add documentation for TarWriter Timofey Solomko 2022-01-22 13:47:37 +03:00
  • 479cd580a9 [docs] Add TarReader/Writer to jazzy categories Timofey Solomko 2022-01-22 13:40:09 +03:00
  • 4ccb5e1de8 [docs] Small fixes to the documentation of TarContainer.create(from:force:) Timofey Solomko 2022-01-22 13:39:40 +03:00
  • ba7e4448d1 [TAR] Simplify TarWriter.finalize Timofey Solomko 2022-01-22 13:38:02 +03:00
  • f9f5e9e613 Prepare for the test release of 4.8.0 4.8.0-test Timofey Solomko 2022-01-20 22:20:04 +03:00
  • 939f08abad [Tests] Add a test for BZip2 truncated in the middle of a Huffman symbol Timofey Solomko 2022-01-20 22:08:49 +03:00
  • f539a53386 [Huffman] Ensure that there is data available in findNextSymbol() Timofey Solomko 2022-01-20 22:07:43 +03:00
  • 0c5cd4a9b5 [BZip2] Rework a part of BZip2.decompress for clarity Timofey Solomko 2022-01-15 20:21:26 +03:00
  • 3ab61e88bb [swcomp] Adjust requirements for compression ratio computation Timofey Solomko 2022-01-13 22:45:03 +03:00
  • 8aa671a4e0 [swcomp] The result of BenchmarkCommand.benchmark is now discardable Timofey Solomko 2022-01-13 22:43:14 +03:00
  • e3ada549fd [swcomp] Replace custom SpeedFormat with Foundation's ByteCountFormatter Timofey Solomko 2022-01-11 22:35:22 +03:00
  • 2a60991067 [swcomp] Make BenchmarkCommand significantly more customizable + add ReaderTar benchmark Timofey Solomko 2022-01-11 22:16:07 +03:00
  • 1000194a7e [swcomp] Make all classes final Timofey Solomko 2022-01-09 14:44:40 +03:00
  • 9241987e53 [swcomp] Add writer-tar benchmark Timofey Solomko 2022-01-09 14:36:24 +03:00