Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete benchmarks seem misleading #19

Closed
stephenoneal opened this issue Oct 7, 2016 · 5 comments
Closed

Complete benchmarks seem misleading #19

stephenoneal opened this issue Oct 7, 2016 · 5 comments

Comments

@stephenoneal
Copy link

Since you're varying the ORM based on the http framework the benchmarks seem vary misleading. Some were using pee_wee, some sqlalchemy, and django was using django. Couldn't you make the benchmarks all use pee_wee so you're bench-marking the web delivery part of the framework in isolation of ORM performance and features?

@ikalnytskyi
Copy link

Seconded on this. Or even use pure SQL queries in order to avoid cost of abstractions.

@cypreess
Copy link

@stephenoneal @ikalnytskyi I do not find this misleading. I assume that this test is going to help you decide what exactly to use. Very often frameworks (like django) comes with builtin or at least standard/prefered ORM. When you choosing specific framwork you are then usually bound to specific ORM - and this is very practical test then.

@ikalnytskyi
Copy link

@cypreess I'm sorry to say so, but I completely disagree on this:

When you choosing specific framwork you are then usually bound to specific ORM - and this is very practical test then.

I'd say Django is exception here, though no one force you to use Django ORM. I've heard about using SQLAlchemy instead in some REST API project.

All those frameworks are not tied to ORM:

  • flask
  • pecan
  • pyramid
  • bottle
  • webpy
  • falcon

and you will find even more. I only listed the most popular ones (except async ones, as they usually do not have ORM).

@jozuenoon
Copy link

I would add here also:

  • tornado

@klen
Copy link
Owner

klen commented Apr 28, 2021

No ORM anymore

@klen klen closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants