fe-frameworks

Same app built with different FE frameworks to compare perfomance

GPL-3.0 License

Stars
0
Committers
2

fe-frameworks

Let's build a same app with different FE frameworks to test their load and user interaction under load

Approach

I want to compare builds of different FE frameworks to see how they handle a mock of a real life app

App requirements

  • There's input field called 'details amount' that takes in an integer
  • App renders a component called MockDetail on page N times equal to 'details amount' value
  • MockDetail must have following properties:
    • Randomly a div or span as html tag

    • A state that counts amount of single clicks on component starting from 0

    • A label that is shown as html 'title'. A label should contain a random string of max length of 5 plus index of MockDetail and click amount. It should look like this

      const title = `${randomString}. Index: ${index}. Clicked ${clickAmountStateValue}`
      
    • Minimal width and height of 2 pixels

    • Random background color

    • A 20% chance of rendering child component that would show the random string, index and click times as described earlier

    • It should disappear from DOM on double click

  • An input that allows user to just type in some text and renders the result of it right after to show responsivness
  • A button "start incrementing" that starts to increment amount of MockDetails by 1 each second
  • If possible - app should display time passed from before update of MockDetails started to it's finish
  • Using pure js css and html all apps should render the same 'radar' animation at any time

TODOs

Neareast planned:

  • Solid example
  • Ember example
  • Improve code readability and cleanup
  • Check and fix time to update for different builds
Related Projects