Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Conversation

@claymega
Copy link
Collaborator

As TPS increases, the time-consuming spikes of interval3_between_get_payload_and_new_payload in the sequence logic will increase. As shown in the following figure:
image

After debugging, it was found that the try-update-engine in the derived logic was executed before the new_payload function handler was executed.

The purpose is to reduce the number of try-update-engine calls. The try-update-engine event is triggered in four places, and the effects of the triggering are the same. Each block generation will trigger the try-update-engine event, so directly deleting try-update-engine in the derived logic will not have any effect.

The same TPS spikes after modification are as follows:
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant