Skip to content

Conversation

@ljbade
Copy link

@ljbade ljbade commented Mar 23, 2022

Our fork of prometheus-cpp is fairly out of date and I want to use some of the fixes and improvements from upstream.

michenicholas and others added 30 commits August 26, 2019 18:42
Control symbol visibility and add SONAME
Fix symbol visibilities for CMake (and Bazel)
Add three different insert strategies for the Registry.
The `NonStandardAppend` is only there and selected for
backward compatibility and most likely will go away
in the future.
gjasny and others added 18 commits November 12, 2021 08:33
```
before:

BM_Registry_CreateFamily             49.2 ns         49.0 ns     11087352
BM_Registry_CreateCounter/0           165 ns          165 ns      4170191
BM_Registry_CreateCounter/1          1967 ns         1958 ns       556346
BM_Registry_CreateCounter/8          4280 ns         4269 ns       176711
BM_Registry_CreateCounter/64        27091 ns        27009 ns        25755
BM_Registry_CreateCounter/512      224201 ns       223581 ns         3023
BM_Registry_CreateCounter/4096    2056280 ns      2049876 ns          330

after:

BM_Registry_CreateFamily             47.8 ns         47.8 ns     15131733
BM_Registry_CreateCounter/0           158 ns          158 ns      4295006
BM_Registry_CreateCounter/1          1009 ns         1009 ns      1169219
BM_Registry_CreateCounter/8          3238 ns         3231 ns       203179
BM_Registry_CreateCounter/64        25989 ns        25949 ns        27008
BM_Registry_CreateCounter/512      211288 ns       211220 ns         3265
BM_Registry_CreateCounter/4096    1960240 ns      1959743 ns          350
```

Fixes: jupp0r#532
@ljbade ljbade changed the title Merge upstream changes. Merge upstream changes Mar 23, 2022
@ljbade ljbade requested review from jbangelo, notoriaga and sasamb March 24, 2022 23:52
@ljbade
Copy link
Author

ljbade commented Mar 24, 2022

@jbangelo I wasn't 100% sure who should review this PR. I guess this repo is owned by the Orion team?

@jbangelo
Copy link

I don't think we can reasonably review all of the upstream changes. @ljbade were there any conflicts that we should focus on? All I can see is commit d3847e5.

Something else to consider, would it be cleaner to try and rebase our changes on top of the upstream master rather than merging in the upstream master. We'll end up in the same place, but it would make it a little more clear that we are simply adding a handful of modifications on top of the upstream rather than a massively divergent fork.

@ljbade
Copy link
Author

ljbade commented Mar 25, 2022

@jbangelo yeah that might be an easier way to do this. There were a lot of merge conflicts because some of the code has been moved around.

@ljbade
Copy link
Author

ljbade commented Mar 25, 2022

Replaced by #7

@ljbade ljbade closed this Mar 25, 2022
@ljbade ljbade deleted the jupp0r-master branch March 25, 2022 03:40
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.