Skip to content

Commit

Permalink
use native Swim package instead of my fork for benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomHashTags committed Oct 14, 2024
1 parent 6ebb03b commit 6742754
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Benchmarks/Benchmarks/Swim/Swim.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import Utilities
import Swim
import HTML

package struct SwimTests : HTMLGenerator {
package init() {}
Expand Down
5 changes: 3 additions & 2 deletions Benchmarks/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let package = Package(
.package(url: "https://github.com/RandomHashTags/fork-bb-swift-html", branch: "main"),
.package(url: "https://github.com/JohnSundell/Plot", from: "0.14.0"),
//.package(url: "https://github.com/toucansites/toucan", from: "1.0.0-alpha.1"), // unstable
.package(url: "https://github.com/RandomHashTags/fork-Swim", branch: "main"),
.package(url: "https://github.com/robb/Swim", from: "0.4.0"),
.package(url: "https://github.com/RandomHashTags/fork-Vaux", branch: "master"),
//.package(url: "https://github.com/tayloraswift/swift-dom", from: "1.1.0"), // bad exports
//.package(url: "https://github.com/TokamakUI/Tokamak", from: "0.11.1"), // swift-benchmark problem
Expand Down Expand Up @@ -97,7 +97,8 @@ let package = Package(
name: "TestSwim",
dependencies: [
"Utilities",
.product(name: "Swim", package: "fork-Swim")
.product(name: "Swim", package: "Swim"),
.product(name: "HTML", package: "Swim", moduleAliases: ["HTML":"SwimHTML"])
],
path: "Benchmarks/Swim"
),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Use the `HTMLElementAttribute.event(<type>, "<value>")`.
- [JohnSundell/Plot](https://github.com/JohnSundell/Plot) v0.14.0
- [RandomHashTags/swift-htmlkit](https://github.com/RandomHashTags/swift-htmlkit) v0.6.0 (this library)
- [pointfreeco/swift-html](https://github.com/pointfreeco/swift-html) v0.4.1
- [robb/Swim](https://github.com/robb/Swim) v0.4.0 (patched version [here](https://github.com/RandomHashTags/fork-Swim))
- [robb/Swim](https://github.com/robb/Swim) v0.4.0
- [vapor-community/HTMLKit](https://github.com/vapor-community/HTMLKit) v2.8.1
- [dokun1/Vaux](https://github.com/dokun1/Vaux) v0.2.0 (patched version [here](https://github.com/RandomHashTags/fork-Vaux); custom renderer [here](https://github.com/RandomHashTags/swift-htmlkit/blob/main/Benchmarks/Benchmarks/Vaux/Vaux.swift))

Expand Down

0 comments on commit 6742754

Please sign in to comment.