Better HN
topnewbestaskshowjobs
Log inSign up

tfparty2

9 karma · joined May 28, 2020 (6y ago) · 2 submissions

Submissions

comment 6y ago · link · parent

I'll agree that raw database queries aren't unheard of, but EF and Dapper are much more suggested (and IMO "realistic") database paths for "asp.net core"

additionally, I'm not quite sure that this is the recommended way to return database results: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

What I believe is more "realistic" is to:

• Use the framework as described: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first...

To be fair, I'm picking on aspnet core because I like it so much (via F#). The framework is great, but this gaming of public benchmarks (techempower, benchmarksgame) by "breaking the same rules as everyone else" rather than investing time into making these results more useful is disappointing.

comment 6y ago · link · parent

The addition of the "realistic" vs "synthetic" benchmarks is very welcome, with "realistic" being the default. Hopefully this could help get things to a better state.

Still questionable as to what is allowed in "realistic" though. Aspnet core using a "rawdb" adapter doesn't seem like what I would interperet as "realistic".

Perhaps there needs to be a "marketed" category, for use as the docs describe. For aspnet core, this would include using entity framework.

Not much point in splitting the categories if it isn't a uniformly split thing.

It'd be nice to see benchmarks where: • Everything was implemented as documented in the framework's tutorials. • Realistic things were included end-to-end (payload validation, csrf (if applicable), etc).

Still seems like a whole basket of fruit comparisons here.