gmega
713206b518
bump chronos
2023-12-07 09:17:46 -03:00
gmega
0c60cbe11e
update serialization tests to track new metrics
2023-12-07 09:17:46 -03:00
gmega
96156b16c3
half-baked integration of new profiler branch
2023-12-07 09:17:46 -03:00
Dmitriy Ryajov
8c84d8b743
moar style changes
2023-12-07 09:17:46 -03:00
Dmitriy Ryajov
2b362dda27
readd eaguer dht lookup is required in some cases
2023-12-07 09:16:48 -03:00
Dmitriy Ryajov
ab8a97118d
move self check to discovery.find
2023-12-07 09:16:48 -03:00
Dmitriy Ryajov
683f4b3016
don't fire up discovery eaguerly
2023-12-07 09:16:48 -03:00
Dmitriy Ryajov
0e422a64fa
filter out self on dial
2023-12-07 09:12:58 -03:00
gmega
b6321dc91c
revert memory leak fix so we can run tests with new DHT
2023-12-07 09:08:28 -03:00
gmega
bb00e3958b
fix profiler memory leak
2023-12-07 09:08:28 -03:00
gmega
a3ae613fff
add failing test case for memory leak
2023-12-07 09:08:28 -03:00
gmega
5d0c201882
refactor asyncprofiler to make it more testable
2023-12-07 09:08:24 -03:00
gmega
1821a47261
bump nim-chronos
2023-12-07 09:07:00 -03:00
gmega
256d0e7270
add some hacks to allow enabling profiling on specific threads, and guarding against enabling it on multiple
2023-12-07 09:07:00 -03:00
gmega
23f63251f5
add assertions to try to track threading errors
2023-12-07 09:07:00 -03:00
gmega
3c6ef3019f
allow configuration of profiler output volume from CLI option
2023-12-07 09:06:59 -03:00
gmega
e70c40cb45
fix counter update bug
2023-12-07 09:06:59 -03:00
gmega
b795d8a3f5
revert threadvars and add initialization to collector global instance
2023-12-07 09:06:59 -03:00
gmega
f048404cb7
add callback to eliminate the need for an async timer in metric updates
2023-12-07 09:06:59 -03:00
gmega
29d36b51f2
modify metrics collector so it uses standard gauges
2023-12-07 09:06:58 -03:00
gmega
b50469f6cc
rename metrics to follow codex conventions
2023-12-07 09:06:58 -03:00
gmega
c809af7dc7
add tests to main test suite, add global async profiler info collector
2023-12-07 09:06:58 -03:00
gmega
eab506949d
guard metrics dump with chronosFuturesInstrumentation flag
2023-12-07 09:06:58 -03:00
gmega
c4adc65823
rename ProfilingCollector => AsyncProfilerInfo to match nim-metrics naming convention
2023-12-07 09:06:57 -03:00
gmega
f16bccfcb6
add labeled top-k slowest async procs to prometheus collector
2023-12-07 09:06:57 -03:00
gmega
613e4c4038
add basic prometheus profiling metrics tracker
2023-12-07 09:06:57 -03:00
gmega
aa6d8d7b56
fix test file name and remove old test file
2023-12-07 09:06:57 -03:00
gmega
19d90191d8
order api results by descending totalExecTime (with option of adding a query parameter)
2023-12-07 09:06:56 -03:00
gmega
f99a516203
add simple profiling API
2023-12-07 09:06:51 -03:00
gmega
91d186b717
WiP
2023-12-07 09:04:47 -03:00
Jaremy Creechley
a6781e7eed
revert
2023-12-07 09:03:34 -03:00
Jaremy Creechley
9de7070743
use non-closure procs
2023-12-07 09:03:33 -03:00
Jaremy Creechley
94f899b664
work around odd error with payForBlock codegen
2023-12-07 09:03:33 -03:00
Jaremy Creechley
28593bed1d
push changes
2023-12-07 09:03:33 -03:00
Jaremy Creechley
2f4bc85d58
updates
2023-12-07 09:03:33 -03:00
Jaremy Creechley
46c6efd780
fix isNil checks
2023-12-07 09:03:32 -03:00
Jaremy Creechley
e820745935
bump cache
2023-12-07 09:03:32 -03:00
Jaremy Creechley
d7e3e1c938
don't fail fast
2023-12-07 09:03:32 -03:00
Jaremy Creechley
51e6f237a0
docs
2023-12-07 09:03:31 -03:00
Jaremy Creechley
bde957e873
rename future metrics
2023-12-07 09:03:31 -03:00
Jaremy Creechley
8622befaf2
import profiler utils
2023-12-07 09:03:31 -03:00
Jaremy Creechley
dc1f03b89a
point to codex chronos repo
2023-12-07 09:03:31 -03:00
Jaremy Creechley
39db49ce3c
point to codex chronos repo
2023-12-07 09:03:31 -03:00
Jaremy Creechley
f7fd49107f
point to codex chronos repo
2023-12-07 09:03:30 -03:00
Eric
3907ca4095
Add get active slot /slots/{slotId} to REST api, use utils/json ( #645 )
...
* Add get active slot /slots/{slotId} to REST api, use utils/json
- Add endpoint /slots/{slotId} to get an active SalesAgent from the Sales module. Used in integration tests to test when a sale has reached a certain state. Those integration test changes will be included in a larger PR, coming later.
- Add OpenAPI changes for new endpoint and associated components
- Use utils/json instead of nim-json-serialization. Required exemption of imports from several packages that export nim-json-serialization by default.
* Only except `toJson` from import/export of chronicles
2023-12-07 12:16:36 +11:00
Eric
86a6ef9215
remove waitFor cancelAndWait in proving state ( #643 )
...
In proving.onCancelled, the `waitFor state.loop.cancelAndWait()` was never completing. Turns out this was not needed, because when changing states, the current state's run is cancelled, which automatically cancels the state prove loop, because it is a child of proving.run. Therefore, the logic to cancelAndWait the prove loop was removed as it was not needed.
2023-12-06 14:20:14 +11:00
Adam Uhlíř
b38146d3f7
fix: check expiration is before request end ( #641 )
2023-12-05 14:25:28 +01:00
Adam Uhlíř
0e4387d1b3
refactor: move expiry update from fetchBatched ( #634 )
2023-11-28 22:04:11 +01:00
Dmitriy Ryajov
22c31046a7
Dont dial self ( #633 )
...
* don't dial self
* revert style changes
* filter out self on dial
* add helpers to `peerId` and `isSelf`
* don't fire up discovery eaguerly
* allow excluding multiple peers in sendWantHave
* revert style changes
* move self check to discovery.find
* readd eaguer dht lookup is required in some cases
* revert style changes
* misc
* drop peer first, before queueing a dht lookup
* moar style changes
* use isSelf
2023-11-27 10:25:53 -08:00
Dmitriy Ryajov
e871859a96
Bump dht ( #628 )
...
* rename nim-libp2p-dht to nim-codex-dht
* bump dht
* update .gitmodules
* bump
---------
Co-authored-by: Jaremy Creechley <creechley@gmail.com>
2023-11-27 09:23:25 -08:00