starlite VS api-performance-tests

Compare starlite vs api-performance-tests and see what are their differences.

starlite

Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar] (by starlite-api)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
starlite api-performance-tests
73 10
2,019 30
- -
9.4 5.3
about 1 year ago 4 days ago
Python Python
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

starlite

Posts with mentions or reviews of starlite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-02.

api-performance-tests

Posts with mentions or reviews of api-performance-tests. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-11.
  • Starlite December '22 Updates
    7 projects | /r/Python | 11 Dec 2022
    Since version v1.39.0 Starlite (released on the 12.11.22) no longer has any dependency on Starlette. Between this version and v1.45.0 that was released today (11.12.22), we have invested significant effort into benchmarking and optimizing code. One of our maintainers, @provinzkraut (Janek Nouvertné), has done amazing work rewriting our benchmarking framework. You can read more about this in here and run the benchmarks on your own by cloning the benchmark repository. The results are pretty impressive if I may say so myself:
  • Starlite new features, benchmarks and a call for contributors and maintainers
    6 projects | /r/Python | 9 Aug 2022
    Another important point I want to address is the framework's performance. The latest iteration of the TechPowered Benchmarks came out and they really surprised us. Starlite appeared rather slow there, and FastAPI was almost 200% faster thatn Starlette, which isn't technically possible given the structure of this library. Obviously something weird is happening there (no clue what), but this compelled us to invest some more efforts into our own benchmarking, the repository for which you can see here.
  • Starlite updates, features and community suggestions
    1 project | /r/Python | 23 Jul 2022
    here: https://github.com/Goldziher/api-performance-tests
  • Starlite vs. FastAPI vs. Starlette benchmarks
    1 project | /r/webdev | 24 Jan 2022
    I used autocannon for this - which is a very cool benchmarking tool (I am not involved with it in any way). You can see the tests and more details in this repo. In a nutshell - I used identical setup for all 3 frameworks. Since both FastAPI and Starlite use Starlette as a basis, I also compared with Starlette.
  • Starlite comparison to FastAPI and Starlette
    1 project | /r/HowToPython | 24 Jan 2022
  • Starlite is one of the fastest python API frameworks - its even faster than Starlette and FastAPI
    3 projects | /r/programming | 24 Jan 2022
    I looked but still don’t understand… https://github.com/Goldziher/api-performance-tests/blob/main/results/json-starlite-sync-json-abc-1.json has 32k requests (per second?) but your graphs talk about 107
  • Starlite is fast(er)
    4 projects | /r/Python | 24 Jan 2022
    Legend: - a-: async, s-: sync - np: no params, pp: path param, qp: query param, mp: mixed params **Note*\*: only Starlite uses orjson by default - using their default settings both Starlette and FastAPI are significantly slower in serializing/deserializing JSON. You can find the tests in this repo, which also documents the test setup etc. As always, I invite you to checkout Starlite and maybe ⭐our repo. Starlite is a collaborative project - we have a discord server, which you can find here. You can find my previous reddit posts related to Starlite in these links: 1. Post regarding the builtin support for SQL Alchemy and the plugin system 2. Post introducing Starlite You can also read the article in medium (no pay gate) introducing Starlite.
  • Starlite is faster than Starlette and FastAPI
    2 projects | /r/Python | 24 Jan 2022
    You can find the tests in this repo, which also documents the test setup etc.

What are some alternatives?

When comparing starlite and api-performance-tests you can also consider the following projects:

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

elements - Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.

fastapi-crudrouter - A dynamic FastAPI router that automatically creates CRUD routes for your models

msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

starlette - The little ASGI framework that shines. 🌟

litestar - Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

uvicorn - An ASGI web server, for Python. 🦄

BlackSheep - Fast ASGI web framework for Python

SQLAlchemy - The Database Toolkit for Python

pydantic - Data validation using Python type hints

pydantic-factories - Simple and powerful mock data generation using pydantic or dataclasses

edX - The Open edX LMS & Studio, powering education sites around the world!