mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
21 lines
440 B
Swift
21 lines
440 B
Swift
// Copyright (c) 2021 Timofey Solomko
|
|
// Licensed under MIT License
|
|
//
|
|
// See LICENSE for license information
|
|
|
|
import Foundation
|
|
import SWCompression
|
|
import SwiftCLI
|
|
|
|
class CompDeflate: BenchmarkCommand {
|
|
|
|
let name = "comp-deflate"
|
|
let shortDescription = "Deflate compression"
|
|
|
|
let files = CollectedParameter()
|
|
|
|
let benchmarkName = "Deflate Compression"
|
|
let benchmarkFunction: (Data) throws -> Any = Deflate.compress
|
|
|
|
}
|