Skip to content

Implement Performance Metrics #153

Open

Description

@L1lith

I think performance metrics would be a really good tool for pushing the performance of Percy, and to draw in new users! My idea was that you could get a set of small sample of web apps that are functionally the same, and then implement them all in the performance testing.
This feature and other kinds of tests would be really nice because you could show off the performance benefits of Percy vs other js/rs frameworks, and it could help the Percy project measure their optimization progress and find problem areas.

I think the concept behind the Percy project is really cool. Rust is a really cool language in a unique position to provide giant performance benefits, but to me it seems like the community's been slow to recognize the benefits of isomorphic architecture which was so popular in JS. An architecture which seems like it could be very efficiently abstracted away by Macros, so it's cool to see that Percy exists :)

Activity

  1. chinedufn commented on Oct 18, 2021

    @chinedufn
    Owner

    Hey!

    As you can probably tell, I'm a big believer in Rust's future in the web space (be it with Percy or other libraries).

    I'm not so sure that Percy would outshine JavaScript frameworks in performance today.

    I haven't done any benchmarking, but I suspect that the rate-limiting factor is DOM API calls, which until interface types are implemented should be slower than JS.

    That being said.. Benchmarks would definitely be useful as a way to help the libraries trend towards being more efficient over time. (as long as it isn't at the expense of usability.)

  2. qm3ster commented on Oct 20, 2021

    @qm3ster
    Contributor

    According to https://github.com/krausest/js-framework-benchmark
    Rust WASM libraries (dominator, yew) are currently competitive in update performance
    rawgit com_krausest_js-framework-benchmark_master_webdriver-ts-results_table html
    Quite bad at initial startup
    rawgit com_krausest_js-framework-benchmark_master_webdriver-ts-results_table html (1)
    But best at memory allocation
    rawgit com_krausest_js-framework-benchmark_master_webdriver-ts-results_table html (2)
    It would be interesting to see a percy implementation in the same table.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions