@D_K How do you propose we would test Elm (a frontend language) in a benchmark of HTTP servers and backend frameworks?
Read carefully and double check they have some tests even without SQL.
They don’t impose hard limits on frameworks, if sobody can get past them, then why not?
@D_K there are seven test types in Project Information Framework Tests Overview documentation:
- JSON Serialization
- Single Database Query
- Multiple Database Queries
- Database Updates
Everything except 1. and 6. deals with the database.
JSON Serialization - in elm you write JSON encoders and decoders to transform a json string into elm data structures and vice-versa. This decoders are needed to insure that the data is valid and so that the elm compiler can type check everything for us. But this is different from the test requirements:
Exercises the framework fundamentals including keep-alive support, request routing, request header parsing, object instantiation, JSON serialization, response header generation, and request count throughput.
Which are meant to measure back-end performance (on the frontend you are basically limited by how many requests a browser can make)
An exercise of the request-routing fundamentals only, designed to demonstrate the capacity of high-performance platforms in particular. Requests will be sent using HTTP pipelining. The response payload is still small, meaning good performance is still necessary in order to saturate the gigabit Ethernet of the test environment.
From elm you can send http requests - and receive responses. (you could get a request via websocket routed thru a port - but that is not what this test implies).
If you check the forum there were some attempts to put elm on the backend (you could use lamdera if you wanted a full stack elm app).
From the FAQ:
We use the word framework loosely to refer to any HTTP server implementation upon which you could build a web application—a full-stack framework, a micro-framework, or even a web platform such as Rack, Servlet, or plain PHP.
Hard limits or no, it’s very plain the benchmarks are not intended for something like Elm. Someone could make a PR for fun to see if it was accepted, but it’s not something that would be useful for anyone using or considering using Elm.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.