Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flate: Add amd64 assembly matchlen #837

Merged
merged 2 commits into from
Jul 17, 2023
Merged

flate: Add amd64 assembly matchlen #837

merged 2 commits into from
Jul 17, 2023

Conversation

klauspost
Copy link
Owner

A few percent faster.

before:
github-june-2days-2019.json	gzkp	1	6273951764	1073607045	17271	346.43
github-june-2days-2019.json	gzkp	2	6273951764	1045461954	20016	298.92
github-june-2days-2019.json	gzkp	3	6273951764	1030139729	21372	279.95
github-june-2days-2019.json	gzkp	4	6273951764	992526317	26354	227.03
github-june-2days-2019.json	gzkp	5	6273951764	938015731	28919	206.89
github-june-2days-2019.json	gzkp	6	6273951764	918717756	32473	184.25
github-june-2days-2019.json	gzkp	7	6273951764	924473679	41597	143.84
github-june-2days-2019.json	gzkp	8	6273951764	905294390	52419	114.14
github-june-2days-2019.json	gzkp	9	6273951764	895561157	103132	58.02

after:
github-june-2days-2019.json	gzkp	1	6273951764	1073607045	16978	352.40
github-june-2days-2019.json	gzkp	2	6273951764	1045461954	19362	309.01
github-june-2days-2019.json	gzkp	3	6273951764	1030139729	20882	286.53
github-june-2days-2019.json	gzkp	4	6273951764	992526317	25009	239.24
github-june-2days-2019.json	gzkp	5	6273951764	938015731	28934	206.79
github-june-2days-2019.json	gzkp	6	6273951764	918717756	32698	182.98
github-june-2days-2019.json	gzkp	7	6273951764	924473679	42734	140.01
github-june-2days-2019.json	gzkp	8	6273951764	905294390	53639	111.55
github-june-2days-2019.json	gzkp	9	6273951764	895561157	97701	61.24

A few percent faster.

```
before:
github-june-2days-2019.json	gzkp	1	6273951764	1073607045	17271	346.43
github-june-2days-2019.json	gzkp	2	6273951764	1045461954	20016	298.92
github-june-2days-2019.json	gzkp	3	6273951764	1030139729	21372	279.95
github-june-2days-2019.json	gzkp	4	6273951764	992526317	26354	227.03
github-june-2days-2019.json	gzkp	5	6273951764	938015731	28919	206.89
github-june-2days-2019.json	gzkp	6	6273951764	918717756	32473	184.25
github-june-2days-2019.json	gzkp	7	6273951764	924473679	41597	143.84
github-june-2days-2019.json	gzkp	8	6273951764	905294390	52419	114.14
github-june-2days-2019.json	gzkp	9	6273951764	895561157	103132	58.02

after:
github-june-2days-2019.json	gzkp	1	6273951764	1073607045	16978	352.40
github-june-2days-2019.json	gzkp	2	6273951764	1045461954	19362	309.01
github-june-2days-2019.json	gzkp	3	6273951764	1030139729	20882	286.53
github-june-2days-2019.json	gzkp	4	6273951764	992526317	25009	239.24
github-june-2days-2019.json	gzkp	5	6273951764	938015731	28934	206.79
github-june-2days-2019.json	gzkp	6	6273951764	918717756	32698	182.98
github-june-2days-2019.json	gzkp	7	6273951764	924473679	42734	140.01
github-june-2days-2019.json	gzkp	8	6273951764	905294390	53639	111.55
github-june-2days-2019.json	gzkp	9	6273951764	895561157	97701	61.24
```
@klauspost klauspost merged commit 33c9bc8 into master Jul 17, 2023
@klauspost klauspost deleted the deflate-asm-matching branch July 17, 2023 09:40
kodiakhq bot referenced this pull request in cloudquery/filetypes Oct 1, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/klauspost/compress](https://github.com/klauspost/compress) | indirect | minor | `v1.16.7` -> `v1.17.0` |

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

### [`v1.17.0`](https://github.com/klauspost/compress/releases/tag/v1.17.0)

[Compare Source](https://github.com/klauspost/compress/compare/v1.16.7...v1.17.0)

#### What's Changed

-   Add dictionary builder by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/853](https://github.com/klauspost/compress/pull/853)
-   Add xerial snappy read/writer by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/838](https://github.com/klauspost/compress/pull/838)
-   flate: Add limited window compression by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/843](https://github.com/klauspost/compress/pull/843)
-   s2: Do 2 overlapping match checks by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/839](https://github.com/klauspost/compress/pull/839)
-   flate: Add amd64 assembly matchlen by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/837](https://github.com/klauspost/compress/pull/837)
-   gzip: Copy bufio.Reader on Reset by [@&#8203;thatguystone](https://github.com/thatguystone) in [https://github.com/klauspost/compress/pull/860](https://github.com/klauspost/compress/pull/860)
-   zstd: Remove offset from bitReader by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/854](https://github.com/klauspost/compress/pull/854)
-   fse, huff0, zstd: Remove always-nil error returns by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/857](https://github.com/klauspost/compress/pull/857)
-   tests: unnecessary use of fmt.Sprintf by [@&#8203;testwill](https://github.com/testwill) in [https://github.com/klauspost/compress/pull/836](https://github.com/klauspost/compress/pull/836)
-   tests: Fix OSS fuzzer t.Run by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/852](https://github.com/klauspost/compress/pull/852)
-   tests: Use Go 1.21.x by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/851](https://github.com/klauspost/compress/pull/851)

#### New Contributors

-   [@&#8203;testwill](https://github.com/testwill) made their first contribution in [https://github.com/klauspost/compress/pull/836](https://github.com/klauspost/compress/pull/836)
-   [@&#8203;thatguystone](https://github.com/thatguystone) made their first contribution in [https://github.com/klauspost/compress/pull/860](https://github.com/klauspost/compress/pull/860)

**Full Changelog**: klauspost/compress@v1.16.7...v1.17.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant