You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stdlibs/bytes package tests are running slowly.
Tests like TestIndexByteNearPageBoundary, TestIndexNearPageBoundary, and TestCompareBytes take particularly long. These tests all use large byte slices.
Similar slow performance was seen in the p/demo/diff package tests when using strings.Repeat to create long strings.
=== RUN TestMyersDiff/Worst-case_scenario_(completely_different_strings)
--- PASS: TestMyersDiff/Worst-case_scenario_(completely_different_strings) (29.70s)
=== RUN TestMyersDiff/Very_long_strings
--- PASS: TestMyersDiff/Very_long_strings (23.81s)
--- PASS: TestMyersDiff (53.55s)
ok examples/gno.land/p/demo/diff 54.24s
I suspect the VM is doing unnecessary work when generating and manipulating large strings or byte slices.
Description
The
stdlibs/bytes
package tests are running slowly.Tests like
TestIndexByteNearPageBoundary
,TestIndexNearPageBoundary
, andTestCompareBytes
take particularly long. These tests all use large byte slices.Similar slow performance was seen in the
p/demo/diff
package tests when usingstrings.Repeat
to create long strings.I suspect the VM is doing unnecessary work when generating and manipulating large strings or byte slices.
This problem was founded on PR #2616
bytes
Execution LogsThe text was updated successfully, but these errors were encountered: