Skip to content

Instrumental lifecycle #177

@azu

Description

@azu

Inspiered by React.

if (__DEV__) {
  measureLifeCyclePerf(
    () => store.getState(),
    'getState',
  );
} else {
  store.getState()
}

Instrumental:

  • Store#getState
  • Store#receivePayload
  • Store#shouldStateUpdate
  • StoreGroup#getState
  • UseCase#execute

The motivation is that we want to find the bottleneck in the stores.
I think that almin need scalable store #175

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions