-
Notifications
You must be signed in to change notification settings - Fork 47
Comparing changes
Open a pull request
base repository: go-openapi/swag
base: v0.22.7
head repository: go-openapi/swag
compare: v0.23.0
- 16 commits
- 18 files changed
- 3 contributors
Commits on Jan 22, 2024
-
perf(mangling): optimized the processing of initialisms
This PR significantly improves the performance of name mangling utilities (e.g. ToGoName, etc). The need for this occured while benchmarking go-swagger's CI suite: surprisingly, the topmost allocator was swag.ToGoName. It is the result of a dozen successive optimization passes driven by profiling. These functions now execute ~10x faster and need 100 times less memory allocations. See BENCHMARK.md Optimization techniques used to reduce allocations: * pointer -> value (everything was pointers: now everything is values) * interface -> struct with a Kind field * closure -> func * string to []byte: use unsafe conversion * string concatenation -> use bytes.Buffer (recyclable, unlike strings.Builder) * static values converted over and over again: pre-bake the conversions * var x []T -> make([]T, 0, heuristic size) * temporarily allocated values -> use pool to recycle previously allocated data items Optimization techniques used to reduce CPU: * read unicode rune -> short-circuit for single byte runes * map lookup -> func with switch statement * for i, v := range -> for i := range (minor impact) Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 01194a0 - Browse repository at this point
Copy the full SHA 01194a0View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 216b00a - Browse repository at this point
Copy the full SHA 216b00aView commit details -
* Added dependabot to keep go dependencies & actions updated. Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Configuration menu - View commit details
-
Copy full SHA for e181373 - Browse repository at this point
Copy the full SHA e181373View commit details -
Updated dependabot frequency to monthly
* Updated gomod update frequency to monthly. Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Configuration menu - View commit details
-
Copy full SHA for 76c9b7c - Browse repository at this point
Copy the full SHA 76c9b7cView commit details -
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 8ce930b - Browse repository at this point
Copy the full SHA 8ce930bView commit details -
Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for a05020e - Browse repository at this point
Copy the full SHA a05020eView commit details
Commits on Feb 1, 2024
-
ci(dependencies): automate dependencies updates
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c877230 - Browse repository at this point
Copy the full SHA c877230View commit details -
Bump the development-dependencies group with 1 update
Bumps the development-dependencies group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `codecov/codecov-action` from 3 to 4 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for d33767c - Browse repository at this point
Copy the full SHA d33767cView commit details -
chore(ci): prevents duplicate workflow runs
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 14fcae4 - Browse repository at this point
Copy the full SHA 14fcae4View commit details
Commits on Feb 2, 2024
-
Bump the development-dependencies group with 1 update
Bumps the development-dependencies group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `codecov/codecov-action` from 3 to 4 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for fec0b4e - Browse repository at this point
Copy the full SHA fec0b4eView commit details
Commits on Feb 3, 2024
-
Using paths-ignore as a short-circuit for doc-only PRs does not work: branch protection rules cannot be passed. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for db91acc - Browse repository at this point
Copy the full SHA db91accView commit details
Commits on Feb 16, 2024
-
Bump the development-dependencies group with 1 update
Bumps the development-dependencies group with 1 update: [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action). Updates `golangci/golangci-lint-action` from 3 to 4 - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v3...v4) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 6b32215 - Browse repository at this point
Copy the full SHA 6b32215View commit details
Commits on Mar 4, 2024
-
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 4896833 - Browse repository at this point
Copy the full SHA 4896833View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f3f80 - Browse repository at this point
Copy the full SHA 54f3f80View commit details -
fix(ci): remove dependency-type from dependabot groups
dependency-type is irrelevant in the gomod ecosystem. This setting prevented some updates to auto-merge as expected. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5e655d8 - Browse repository at this point
Copy the full SHA 5e655d8View commit details
Commits on Mar 9, 2024
-
chore(go): go-openapi requires go.1.20 across the board
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 53e32e8 - Browse repository at this point
Copy the full SHA 53e32e8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.22.7...v0.23.0