Skip to content

Conversation

@vobradovich
Copy link
Member

@vobradovich vobradovich commented Oct 16, 2025

  • Reduce number of hashmaps to 2
  • Task now tracks the user future, pending reply locks, and (non-ethexe) critical hooks, letting message_loop reuse locks and enforce timeouts.
  • Added WakeSignals to manage reply lifecycle states—Pending, Ready, Timeout—so record_reply, poll, and timeout propagation share one typed registry, including optional reply hooks and automatic wake/cleanup
  • Refined Lock to store deadline and wait type

@vobradovich vobradovich self-assigned this Oct 16, 2025
@vobradovich vobradovich added rust Pull requests that update Rust code run-benchmarks Enables running benchmarks in CI labels Oct 16, 2025
@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_860_419 -41_687_503 -6.14% 🚀
counter_async 803_743_595 851_480_964 -47_737_369 -5.61% 🚀
cross_program 2_238_739_732 2_436_719_419 -197_979_687 -8.12% 🚀
redirect 3_196_784_116 3_473_474_864 -276_690_748 -7.97% 🚀
stack_0 69_973_200_200 79_911_236_500 -9_938_036_300 -12.44% 🚀
stack_1 336_011_176_400 376_957_078_300 -40_945_901_900 -10.86% 🚀
stack_5 1_403_245_117_700 1_569_303_378_600 -166_058_260_900 -10.58% 🚀
stack_10 2_621_402_663_900 2_959_197_465_500 -337_794_801_600 -11.42% 🚀
stack_20 5_178_992_367_100 6_398_916_489_100 -1_219_924_122_000 -19.06% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at c467f28.

2 similar comments
@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_860_419 -41_687_503 -6.14% 🚀
counter_async 803_743_595 851_480_964 -47_737_369 -5.61% 🚀
cross_program 2_238_739_732 2_436_719_419 -197_979_687 -8.12% 🚀
redirect 3_196_784_116 3_473_474_864 -276_690_748 -7.97% 🚀
stack_0 69_973_200_200 79_911_236_500 -9_938_036_300 -12.44% 🚀
stack_1 336_011_176_400 376_957_078_300 -40_945_901_900 -10.86% 🚀
stack_5 1_403_245_117_700 1_569_303_378_600 -166_058_260_900 -10.58% 🚀
stack_10 2_621_402_663_900 2_959_197_465_500 -337_794_801_600 -11.42% 🚀
stack_20 5_178_992_367_100 6_398_916_489_100 -1_219_924_122_000 -19.06% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at c467f28.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_860_419 -41_687_503 -6.14% 🚀
counter_async 803_743_595 851_480_964 -47_737_369 -5.61% 🚀
cross_program 2_238_739_732 2_436_719_419 -197_979_687 -8.12% 🚀
redirect 3_196_784_116 3_473_474_864 -276_690_748 -7.97% 🚀
stack_0 69_973_200_200 79_911_236_500 -9_938_036_300 -12.44% 🚀
stack_1 336_011_176_400 376_957_078_300 -40_945_901_900 -10.86% 🚀
stack_5 1_403_245_117_700 1_569_303_378_600 -166_058_260_900 -10.58% 🚀
stack_10 2_621_402_663_900 2_959_197_465_500 -337_794_801_600 -11.42% 🚀
stack_20 5_178_992_367_100 6_398_916_489_100 -1_219_924_122_000 -19.06% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at c467f28.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_860_419 -41_687_503 -6.14% 🚀
counter_async 803_743_595 851_480_964 -47_737_369 -5.61% 🚀
cross_program 2_238_739_732 2_436_719_419 -197_979_687 -8.12% 🚀
redirect 3_196_784_116 3_473_474_864 -276_690_748 -7.97% 🚀
stack_0 699_732_002 79_911_236_500 -79_211_504_498 -99.12% 🚀
stack_1 3_360_111_764 376_957_078_300 -373_596_966_536 -99.11% 🚀
stack_5 14_032_451_177 1_569_303_378_600 -1_555_270_927_423 -99.11% 🚀
stack_10 26_214_026_639 2_959_197_465_500 -2_932_983_438_861 -99.11% 🚀
stack_20 51_789_923_671 6_398_916_489_100 -6_347_126_565_429 -99.19% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at ffc0489.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_860_419 -41_687_503 -6.14% 🚀
counter_async 803_743_595 851_480_964 -47_737_369 -5.61% 🚀
cross_program 2_238_138_550 2_436_719_419 -198_580_869 -8.15% 🚀
redirect 3_195_826_688 3_473_474_864 -277_648_176 -7.99% 🚀
stack_0 700_149_834 79_911_236_500 -79_211_086_666 -99.12% 🚀
stack_1 3_361_996_318 376_957_078_300 -373_595_081_982 -99.11% 🚀
stack_5 14_040_202_619 1_569_303_378_600 -1_555_263_175_981 -99.11% 🚀
stack_10 26_229_111_691 2_959_197_465_500 -2_932_968_353_809 -99.11% 🚀
stack_20 51_819_675_943 6_398_916_489_100 -6_347_096_813_157 -99.19% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at 206f898.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_859_589 -41_686_673 -6.14% 🚀
counter_async 803_743_595 851_480_134 -47_736_539 -5.61% 🚀
cross_program 2_238_138_550 2_436_719_419 -198_580_869 -8.15% 🚀
redirect 3_194_681_197 3_474_613_683 -279_932_486 -8.06% 🚀
stack_0 700_149_834 799_115_685 -98_965_851 -12.38% 🚀
stack_1 3_361_996_318 3_769_584_063 -407_587_745 -10.81% 🚀
stack_5 14_040_202_619 15_693_086_906 -1_652_884_287 -10.53% 🚀
stack_10 26_229_111_691 29_592_077_575 -3_362_965_884 -11.36% 🚀
stack_20 51_819_675_943 63_989_367_411 -12_169_691_468 -19.02% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at aa6fb5e.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_859_589 -41_686_673 -6.14% 🚀
counter_async 803_743_595 851_480_134 -47_736_539 -5.61% 🚀
cross_program 2_238_138_550 2_436_719_419 -198_580_869 -8.15% 🚀
redirect 3_194_681_197 3_474_613_683 -279_932_486 -8.06% 🚀
stack_0 700_149_834 799_115_685 -98_965_851 -12.38% 🚀
stack_1 3_361_996_318 3_769_584_063 -407_587_745 -10.81% 🚀
stack_5 14_040_202_619 15_693_086_906 -1_652_884_287 -10.53% 🚀
stack_10 26_229_111_691 29_592_077_575 -3_362_965_884 -11.36% 🚀
stack_20 51_819_675_943 63_989_367_411 -12_169_691_468 -19.02% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at 4e23f98.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_682_804 450_514_036_959 -354_155 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_859_589 -41_686_673 -6.14% 🚀
counter_async 803_743_595 851_480_134 -47_736_539 -5.61% 🚀
cross_program 2_238_138_550 2_436_719_419 -198_580_869 -8.15% 🚀
redirect 3_194_681_197 3_474_613_683 -279_932_486 -8.06% 🚀
stack_0 700_149_834 799_115_685 -98_965_851 -12.38% 🚀
stack_1 3_361_996_318 3_769_584_063 -407_587_745 -10.81% 🚀
stack_5 14_040_202_619 15_693_086_906 -1_652_884_287 -10.53% 🚀
stack_10 26_229_111_691 29_592_077_575 -3_362_965_884 -11.36% 🚀
stack_20 51_819_675_943 63_989_367_411 -12_169_691_468 -19.02% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at cfaa861.

@vobradovich vobradovich marked this pull request as ready for review October 20, 2025 12:06
@vobradovich vobradovich changed the title feat: optimezed async-runtime (replace for gstd) feat: optimized async-runtime (replace for gstd) Oct 21, 2025
@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_679_484 450_514_036_959 -357_475 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_859_589 -41_686_673 -6.14% 🚀
counter_async 803_743_595 851_480_134 -47_736_539 -5.61% 🚀
cross_program 2_238_138_550 2_436_719_419 -198_580_869 -8.15% 🚀
redirect 3_194_681_197 3_474_613_683 -279_932_486 -8.06% 🚀
stack_0 700_149_834 799_115_685 -98_965_851 -12.38% 🚀
stack_1 3_361_996_318 3_769_584_063 -407_587_745 -10.81% 🚀
stack_5 14_040_202_619 15_693_086_906 -1_652_884_287 -10.53% 🚀
stack_10 26_229_111_691 29_592_077_575 -3_362_965_884 -11.36% 🚀
stack_20 51_819_675_943 63_989_367_411 -12_169_691_468 -19.02% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at aeaccca.

@github-actions
Copy link
Contributor

🔬 Benchmark Comparison

Benchmark Current Baseline Change Change % Status
compute 450_513_679_484 450_514_036_959 -357_475 -0.00%
alloc-0 563_780_574 564_376_739 -596_165 -0.11%
alloc-12 567_287_166 567_864_696 -577_530 -0.10%
alloc-143 726_655_761 727_298_127 -642_366 -0.09%
alloc-986 827_641_528 828_290_311 -648_783 -0.08%
alloc-10945 2_018_406_054 2_019_067_671 -661_617 -0.03%
alloc-46367 6_403_667_537 6_404_351_520 -683_983 -0.01%
alloc-121392 16_858_359_295 16_859_084_038 -724_743 -0.00%
alloc-317810 43_146_678_632 43_147_409_792 -731_160 -0.00%
counter_sync 637_172_916 678_859_589 -41_686_673 -6.14% 🚀
counter_async 803_743_595 851_480_134 -47_736_539 -5.61% 🚀
cross_program 2_238_936_989 2_436_719_419 -197_782_430 -8.12% 🚀
redirect 3_194_681_197 3_474_613_683 -279_932_486 -8.06% 🚀
stack_0 700_149_834 799_115_685 -98_965_851 -12.38% 🚀
stack_1 3_361_996_318 3_769_584_063 -407_587_745 -10.81% 🚀
stack_5 14_040_202_619 15_693_086_906 -1_652_884_287 -10.53% 🚀
stack_10 26_229_111_691 29_592_077_575 -3_362_965_884 -11.36% 🚀
stack_20 51_819_675_943 63_989_367_411 -12_169_691_468 -19.02% 🚀

Legend

  • 🚀 Significant improvement (>5% reduction)
  • 👍 Minor improvement (<5% reduction)
  • ✅ No significant change
  • ⚠️ Minor regression (<5% increase)
  • ❌ Significant regression (>5% increase)

🤖 This comment was automatically generated by the benchmark comparison workflow at 5413c5a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-benchmarks Enables running benchmarks in CI rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants