Skip to content

feat: isolates for compute heavy tasks#327

Merged
1-leo merged 33 commits intomasterfrom
fix-websocket-performance-issues-2
Jan 14, 2026
Merged

feat: isolates for compute heavy tasks#327
1-leo merged 33 commits intomasterfrom
fix-websocket-performance-issues-2

Conversation

@1-leo
Copy link
Contributor

@1-leo 1-leo commented Dec 3, 2025

related to #319

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 87.56906% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.18%. Comparing base (f053c29) to head (190303d).
⚠️ Report is 52 commits behind head on master.

Files with missing lines Patch % Lines
...kages/ndk/lib/shared/isolates/isolate_manager.dart 77.61% 15 Missing ⚠️
...es/ndk/lib/domain_layer/entities/nip_01_utils.dart 73.68% 10 Missing ⚠️
...s/ndk/lib/domain_layer/usecases/relay_manager.dart 85.00% 6 Missing ⚠️
...in_layer/usecases/proof_of_work/proof_of_work.dart 60.00% 4 Missing ⚠️
.../lib/shared/decode_nostr_msg/decode_nostr_msg.dart 91.17% 3 Missing ⚠️
...layer/repositories/signers/nip46_event_signer.dart 0.00% 2 Missing ⚠️
...ndk/lib/domain_layer/usecases/bunkers/bunkers.dart 0.00% 2 Missing ⚠️
.../ndk/lib/data_layer/models/nip_01_event_model.dart 98.38% 1 Missing ⚠️
...ayer/repositories/signers/bip340_event_signer.dart 50.00% 1 Missing ⚠️
packages/ndk/lib/shared/nips/nip13/nip13.dart 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #327      +/-   ##
==========================================
+ Coverage   70.83%   71.18%   +0.35%     
==========================================
  Files         136      142       +6     
  Lines        5051     5262     +211     
==========================================
+ Hits         3578     3746     +168     
- Misses       1473     1516      +43     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@1-leo
Copy link
Contributor Author

1-leo commented Dec 5, 2025

@1-leo 1-leo self-assigned this Dec 6, 2025
@1-leo 1-leo added the enhancement New feature or request label Dec 6, 2025
@1-leo 1-leo added this to ndk-dev Dec 6, 2025
@1-leo 1-leo moved this to In Progress in ndk-dev Dec 6, 2025
@1-leo 1-leo marked this pull request as ready for review December 22, 2025 12:32
@frnandu
Copy link
Collaborator

frnandu commented Dec 22, 2025

don't forget to also replace Nip46EventSigner jsonDecode usage with isolate

@frnandu
Copy link
Collaborator

frnandu commented Dec 22, 2025

libs to maybe try if it makes sense for our pool management requirements:

@frnandu frnandu added this to the 0.7 milestone Dec 22, 2025
@1-leo 1-leo merged commit b2fb607 into master Jan 14, 2026
1 check failed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ndk-dev Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants