kkebo / zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.
MIT License
4 stars 1 forks source link

build: add swift-format plugins #14

Closed kkebo closed 10 months ago

kkebo commented 11 months ago

This PR slows down the CI workflows because the package Benchmarks is built. So I don't merge it.

kkebo commented 10 months ago

19 may resolve https://github.com/kkk669/zyphy/pull/14#issuecomment-1745098112.

kkebo commented 10 months ago
kkebo commented 10 months ago
  • before (without caches): 8m 59s
  • before (with caches): 2m 0s
  • after (without caches): 14m 37s
  • after (with caches): 2m 33s

If swift package --package-path Benchmarks lint-source-code is removed, the time of "after" is as fast as the one of "before". Originally, the Benchmarks package was not built on GitHub Actions, so it's almost the same behavior if I remove that line.