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

Avoid repeated regexp compilations #1569

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Conversation

scop
Copy link
Contributor

@scop scop commented Dec 21, 2023

No description provided.

Copy link
Owner

@shirou shirou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you!

@shirou shirou merged commit 4870f6f into shirou:master Dec 23, 2023
19 checks passed
@scop scop deleted the perf/regex-compile branch December 24, 2023 13:01
bogdandrutu referenced this pull request in open-telemetry/opentelemetry-collector Jan 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/shirou/gopsutil/v3](https://togithub.com/shirou/gopsutil)
| `v3.23.11` -> `v3.23.12` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>shirou/gopsutil (github.com/shirou/gopsutil/v3)</summary>

###
[`v3.23.12`](https://togithub.com/shirou/gopsutil/releases/tag/v3.23.12)

[Compare
Source](https://togithub.com/shirou/gopsutil/compare/v3.23.11...v3.23.12)

<!-- Release notes generated using configuration in .github/release.yml
at v3.23.12 -->

#### What's Changed

##### cpu

- Avoid some uses of regexps by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1570](https://togithub.com/shirou/gopsutil/pull/1570)
- Avoid repeated regexp compilations by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1569](https://togithub.com/shirou/gopsutil/pull/1569)

##### disk

- feat(disk): look for filesystem labels from udev on Linux by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1573](https://togithub.com/shirou/gopsutil/pull/1573)

##### host

- add deepin and uos distro by
[@&#8203;keeword](https://togithub.com/keeword) in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

##### Other Changes

- Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" by
[@&#8203;shirou](https://togithub.com/shirou) in
[https://github.com/shirou/gopsutil/pull/1564](https://togithub.com/shirou/gopsutil/pull/1564)

#### New Contributors

- [@&#8203;keeword](https://togithub.com/keeword) made their first
contribution in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

**Full Changelog**:
shirou/gopsutil@v3.23.11...v3.23.12

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
bogdandrutu referenced this pull request in open-telemetry/opentelemetry-collector-contrib Jan 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/shirou/gopsutil/v3](https://togithub.com/shirou/gopsutil)
| `v3.23.11` -> `v3.23.12` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>shirou/gopsutil (github.com/shirou/gopsutil/v3)</summary>

###
[`v3.23.12`](https://togithub.com/shirou/gopsutil/releases/tag/v3.23.12)

[Compare
Source](https://togithub.com/shirou/gopsutil/compare/v3.23.11...v3.23.12)

<!-- Release notes generated using configuration in .github/release.yml
at v3.23.12 -->

#### What's Changed

##### cpu

- Avoid some uses of regexps by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1570](https://togithub.com/shirou/gopsutil/pull/1570)
- Avoid repeated regexp compilations by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1569](https://togithub.com/shirou/gopsutil/pull/1569)

##### disk

- feat(disk): look for filesystem labels from udev on Linux by
[@&#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1573](https://togithub.com/shirou/gopsutil/pull/1573)

##### host

- add deepin and uos distro by
[@&#8203;keeword](https://togithub.com/keeword) in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

##### Other Changes

- Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" by
[@&#8203;shirou](https://togithub.com/shirou) in
[https://github.com/shirou/gopsutil/pull/1564](https://togithub.com/shirou/gopsutil/pull/1564)

#### New Contributors

- [@&#8203;keeword](https://togithub.com/keeword) made their first
contribution in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

**Full Changelog**:
shirou/gopsutil@v3.23.11...v3.23.12

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
cparkins referenced this pull request in AmadeusITGroup/opentelemetry-collector-contrib Jan 10, 2024
…ry#30247)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/shirou/gopsutil/v3](https://togithub.com/shirou/gopsutil)
| `v3.23.11` -> `v3.23.12` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fshirou%2fgopsutil%2fv3/v3.23.11/v3.23.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>shirou/gopsutil (github.com/shirou/gopsutil/v3)</summary>

###
[`v3.23.12`](https://togithub.com/shirou/gopsutil/releases/tag/v3.23.12)

[Compare
Source](https://togithub.com/shirou/gopsutil/compare/v3.23.11...v3.23.12)

<!-- Release notes generated using configuration in .github/release.yml
at v3.23.12 -->

#### What's Changed

##### cpu

- Avoid some uses of regexps by
[@&open-telemetry#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1570](https://togithub.com/shirou/gopsutil/pull/1570)
- Avoid repeated regexp compilations by
[@&open-telemetry#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1569](https://togithub.com/shirou/gopsutil/pull/1569)

##### disk

- feat(disk): look for filesystem labels from udev on Linux by
[@&open-telemetry#8203;scop](https://togithub.com/scop) in
[https://github.com/shirou/gopsutil/pull/1573](https://togithub.com/shirou/gopsutil/pull/1573)

##### host

- add deepin and uos distro by
[@&open-telemetry#8203;keeword](https://togithub.com/keeword) in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

##### Other Changes

- Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" by
[@&open-telemetry#8203;shirou](https://togithub.com/shirou) in
[https://github.com/shirou/gopsutil/pull/1564](https://togithub.com/shirou/gopsutil/pull/1564)

#### New Contributors

- [@&open-telemetry#8203;keeword](https://togithub.com/keeword) made their first
contribution in
[https://github.com/shirou/gopsutil/pull/1561](https://togithub.com/shirou/gopsutil/pull/1561)

**Full Changelog**:
shirou/gopsutil@v3.23.11...v3.23.12

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants