snowtrack / snowfs

SnowFS v1 - a fast, scalable version control file storage for graphic files :art:
https://www.snowtrack.io
GNU General Public License v3.0
1.3k stars 43 forks source link

🐎 Speedup GitHub workflows #273

Closed sebastianrath closed 2 years ago

sebastianrath commented 2 years ago

According to the discussion https://github.com/TypeStrong/ts-node/discussions/1276, adding swc speeds up the execution of ts-node tremendously.This will result in a faster execution of workflows in CLI tests.

Overall time of unit-tests before:

Screen Shot 2022-04-13 at 12 12 50 AM

Overall time of unit-tests after:

Screen Shot 2022-04-13 at 12 12 46 AM
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2158951920


Files with Coverage Reduction New Missed Lines %
main.ts 2 61.1%
src/io.ts 5 86.43%
src/repository.ts 9 85.57%
<!-- Total: 16 -->
Totals Coverage Status
Change from base Build 2158921067: 4.7%
Covered Lines: 1699
Relevant Lines: 2020

💛 - Coveralls
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2158951920

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Files with Coverage Reduction New Missed Lines %
main.ts 2 61.1%
src/io.ts 5 88.84%
src/repository.ts 9 88.3%
<!-- Total: 16 -->
Totals Coverage Status
Change from base Build 2158921067: 9.5%
Covered Lines: 1924
Relevant Lines: 2119

💛 - Coveralls
sebastianrath commented 2 years ago

@daniellanner This dramatically reduces the startup time of debug builds of SnowFS. Before 2-3 seconds, now around 200ms.

daniellanner commented 2 years ago

LGTM 🚀