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

[Feature]: Provide Guidance or Power Fx Functions to Assert Performance Metrics #523

Open
Grant-Archibald-MS opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Grant-Archibald-MS
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It is essential to ensure that Power Apps meet performance criteria such as time to load and responsiveness. Currently, there is limited guidance or built-in functionality to assert these performance metrics within the Power Apps Test Engine.

Describe the solution you'd like

Propose providing detailed guidance or introducing Power Fx functions that allow users to assert performance metrics. For example, functions to measure the time to load an app or start/stop timers could be included.

For example This solution could leverage the No Cliffs extensibility model to add timers and metrics for testing and validation, ensuring that applications fit within defined usage criteria.

This could be something like the followig or

Set(Start,StartTimer())
...
Set(End,EndTimer())
Assert(End - Start < 2000, "Longer than 2 seconds")

Describe alternatives you've considered

No response

Additional context?

No response

@Grant-Archibald-MS Grant-Archibald-MS added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant