There are 2 branches, the Main branch and the CleanUp branch. CleanUp branch has more cleaner structure, I've added Helper class there. However, this has resulted in calculations being a few tenths of a second slower. The programme is generally fast, taking about 1 second for 10,000 items and about 3 seconds for 20,000 items.
This is a Serverless Azure functions project (HTTP trigger function). Using .Net 6, developed in Visual Studio 2022
- Visual Studio 2022,
- Insomnia or Postman for Api calls,
- Clone the repo
git clone https://github.com/KarolRechman/Mesh.git
- Open solution in VS 2022
- Install NuGet packages, it can be done with build
- Run app
- Prepere an Http POST request in Insomnia or Postman
- Test application by making an HTTP request, to your local host, like this: http://localhost:7275/api/MeshFunction
One of the best times are on these screenshots:
Result with with 10000 elements:
Result with with 20000 elements (Record time):