Skip to content

Add formatted date cache to improve performance of formatDate()#298

Merged
eamansour merged 2 commits into
galasa-dev:mainfrom
eamansour:em-2521-fix-formatdate-performance
May 12, 2026
Merged

Add formatted date cache to improve performance of formatDate()#298
eamansour merged 2 commits into
galasa-dev:mainfrom
eamansour:em-2521-fix-formatdate-performance

Conversation

@eamansour
Copy link
Copy Markdown
Member

Why?

Refer to galasa-dev/projectmanagement#2521.

Changes

  • Added a cache for formatted dates to avoid recomputing formatted dates for each test run entry
  • Removed unused runName parameter in handleRowClick, which was performing a search through all rows for a given run name (which could be slow) and then throwing it away
  • Unit tests (if applicable)

@eamansour eamansour merged commit e40fc7d into galasa-dev:main May 12, 2026
5 checks passed
@eamansour eamansour deleted the em-2521-fix-formatdate-performance branch May 12, 2026 15:46
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.

2 participants