mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
21 lines
422 B
Swift
21 lines
422 B
Swift
// Copyright (c) 2021 Timofey Solomko
|
|
// Licensed under MIT License
|
|
//
|
|
// See LICENSE for license information
|
|
|
|
import Foundation
|
|
import SWCompression
|
|
import SwiftCLI
|
|
|
|
class UnBz2: BenchmarkCommand {
|
|
|
|
let name = "un-bz2"
|
|
let shortDescription = "BZip2 unarchiving"
|
|
|
|
let files = CollectedParameter()
|
|
|
|
let benchmarkName = "BZip2 Unarchive"
|
|
let benchmarkFunction: (Data) throws -> Any = BZip2.decompress
|
|
|
|
}
|