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

Fix: nethereum signing memory #1830

Merged
merged 18 commits into from
Aug 26, 2024
Merged

Fix: nethereum signing memory #1830

merged 18 commits into from
Aug 26, 2024

Conversation

NickKhalow
Copy link
Contributor

@NickKhalow NickKhalow commented Aug 20, 2024

What does this PR change?

fix #1798

Integrated Alloy rust library for the performance bottle with nethereum.

It gave a crazy performance boost per 120 times 31.4 ms -> 0.26 ms, and reduced memory allocation per 1500 times 3.83 Mb -> 2.63 Kb

RustEthereum.mov

How to test the changes?

  1. Launch the explorer
  2. Play happy path and notice no memory spikes

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

@NickKhalow NickKhalow requested a review from popuz August 20, 2024 10:51
# Conflicts:
#	Explorer/Assets/DCL/AvatarRendering/Wearables/Wearables.asmdef
Copy link
Contributor

github-actions bot commented Aug 20, 2024

badge

New build in progress, come back later!

Copy link
Collaborator

@popuz popuz left a comment

Choose a reason for hiding this comment

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

LGTM 💪

@Ludmilafantaniella Ludmilafantaniella self-requested a review August 21, 2024 13:26
Copy link

@Ludmilafantaniella Ludmilafantaniella left a comment

Choose a reason for hiding this comment

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

Tested by launching the explorer and following the happy path. No memory spikes were observed. Approving the changes. ✅

@NickKhalow NickKhalow enabled auto-merge (squash) August 23, 2024 07:30
# Conflicts:
#	Explorer/Assets/DCL/FeatureFlags/DCL.FeatureFlags.asmdef
#	Explorer/Assets/DCL/PluginSystem/DCL.Plugins.asmdef
#	Explorer/Assets/DCL/Tests/PlayMode/DCL.PlayMode.Tests.asmdef
#	Explorer/Assets/DCL/UserInAppInitializationFlow/DCL.UserInAppInitializationFlow.asmdef
#	Explorer/Assets/Scripts/Global/Dynamic/BootstrapContainer.cs
#	Explorer/Assets/Scripts/Global/Static/StaticSceneLauncher.cs
#	Explorer/Assets/Scripts/SceneRuntime/SceneRuntime.asmdef
@NickKhalow NickKhalow merged commit 1dc7759 into main Aug 26, 2024
5 checks passed
@NickKhalow NickKhalow deleted the fix/nethereum-signing-memory branch August 26, 2024 12:23
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.

Notifications System / Nethereum Web signing allocates high amounts of memory for message signing
5 participants