-
-
Notifications
You must be signed in to change notification settings - Fork 158
Web app to display the result nicely. #82
Comments
Nice idea. You can have a look at the existing IOutput implementations: You can add one more implementation of the IOutput interface which generates the web app. Regarding hosting: |
GitHub Pages seem to be a good start. |
Sorry for a long delay, last couple weeks were busy time for me. After clone, fork and run the project locally, here is what I propose for the action plan:
|
Here is the current result.json. I will create the gh-pages branch when the complete page is available. |
Thank you for your waiting, @danielpalme can you review and give me some feedback before I clean up the code, writing instruction for compiling and making the pull request? |
I would change the following things:
|
@danielpalme can you show me where the font for table and header are not consistent? Is it the text "Welcome to IoC Performance Benchmark!" ? |
Yes, the header uses "Times New Roman" (on Windows). |
This does not display well on my mobile phone. While this is an interesting idea, I think the best visualization would be 4 scatter charts and a drop down to select different competitors. Basically, this is the type of tool you choose at the start of a project and don't revisit, so generally support for features and performance and maintenance /documentation (Google search reaults, stack overflow tagged answers, repository last commit date, etc.) are the only things that matter. So, you can add more data on each project to really make a huge difference. |
@danielpalme During implementing this suggestion
I would like to add additional property to BenchmarkInfo and IBenchmark to show the group category that the benchmark belongs to (Basic, Advanced, or Prepare). This property could be either enum type or string. I would like to do so because in the web app I don't need to hard code which group the benchmark belong to; I only need to read from the JSON. By doing so the information about category grouping is encapsulated in one place and we don't run into the issue that the web app doesn't get updated when you decided to add new benchmark. If you agree on this idea, I'll make a pull request with the change in C# to include this new property. |
@jzabroski I appreciate your suggestion about the scatter chart. Unfortunately, it will require to completely redesign the app. This is done during my spare time so I don't think I could have enough time to finish your suggestion. However, since GitHub is an open community. You are welcomed to fork my repo or the original one and work on your design. |
The JSON now contains a property "Category" in object "BenchmarkInfo" |
@danielpalme can you send me the updated JSON so that it will be consistent with your report in the markdown? Also, could you suggest a place for me to put the final JSON that you would prefer? |
I have added a simple GitHub Page to the "/docs" directory: This is generated by the following class: Here you will find the latest JSON file: |
I would like to contribute by creating an web app to display the test result nicely.
The results could be sorted, hidden, or graphed.
The app will be scheduled to run every times a new version of IoC is updated.
The app will be hosted on Azure App Service.
Are you interested in PR for this feature?
The text was updated successfully, but these errors were encountered: