elements
api-performance-tests
elements | api-performance-tests | |
---|---|---|
6 | 10 | |
1,520 | 30 | |
5.3% | - | |
8.8 | 5.3 | |
1 day ago | 9 days ago | |
TypeScript | Python | |
Apache License 2.0 | - |
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.
elements
-
Scalar: An open-source alternative to Redocly and Swagger UI
Looks like a similar solution to https://github.com/stoplightio/elements - will give this a whirl some time!
-
The Three Steps of Building Design-First APIs in Kubernetes
Complete, up-to-date, and exhaustive documentation that can be generated with Stoplight Elements
-
Starlite is Looking for Contributors and Maintainers + and a Bunch of Updates
An update to the OpenAPI configuration and support for Stoplight Elements
-
Starlite new features, benchmarks and a call for contributors and maintainers
Starlite has substantially enhanced OpenAPI (3.1) documentation - in fact, its the most complete autogenerated schema around, and it ships with Redoc, Swagger-UI and Stoplight-Elements static sites.
-
OpenAPI 打通前後端任督二脈
Stoplight Elements 🆓 / Stoplight
-
Yarn.lock: how it works and what you risk without maintaining yarn dependencies — deep dive
An issue emerged in our library integration that made us challenge our belief that our dependencies are under control. In short, our app crashed because of a bug in a dependency’s dependency. Despite fixing the nested dependency, the issue remained to be unsolved.
api-performance-tests
-
Starlite December '22 Updates
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
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
here: https://github.com/Goldziher/api-performance-tests
-
Starlite vs. FastAPI vs. Starlette benchmarks
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
-
Starlite is one of the fastest python API frameworks - its even faster than Starlette and FastAPI
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)
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
You can find the tests in this repo, which also documents the test setup etc.
What are some alternatives?
redoc - 📘 OpenAPI/Swagger-generated API Reference Documentation
starlite - Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
docusaurus-openapi - 🦕 OpenAPI plugin for generating API reference docs in Docusaurus v2.
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
json-schema-viewer - A JSON Schema viewer React component
litestar - Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
scalar - Beautiful API references from OpenAPI/Swagger files ✨
openapi-devtools - Browser extension that generates API specs for any app or website
distributeaid.org - Distribute Aid's landing site!
starlite-jwt - JWT Auth toolkit for Starlite
dependabot-core - 🤖 Dependabot's core logic for creating update PR's.
all-contributors - ✨ Recognize all contributors, not just the ones who push code ✨