Skip to content

Update and clarify the requirements to this bench #10702

@joanhey

Description

@joanhey

Docker images

  • Use an exact version, minimum MAJOR.MINOR (and the .PATCH if not use semver)
    Not permitted images: :latest, :testing, :rolling, :nightly, :devel, ...
    And also :slim, :alpine, ... without any version. As by default is :latest without any version.
    Perhaps we can include a github action to check it.

    Example:
    rust without any version, by default is latest !!!
    rust:1.93
    rust:slim is also latest.
    rust:1.93-slim

Headers

  • No constants or pre-calculated header for the Content-Length.
    Need to be calculated for each request.
  • Header for Server need minimum 3 ( or 4 ? ) characters.
    A lot of frameworks only use 1 character only for the bench (not realistic).
    We can add it in the tests.

Fortune test

Join plaintext/json with database tests

  • Another suggestion, no framework can separate the plaintext/json bench from the database.
    Please use the same variant for all the tests, the runs will be faster. Thank you !!
    With a github action we can check it.

Add maintainers


Open to more discussion about that !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions