Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ada Web-Server Framework for Benchmarking
Ada
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
lib
src
templates
.gitattributes
.gitignore
.gnatignore
README.md
aws_test.adb
aws_test.exe
framework_test.gpr

README.md

Benchmark for AWS (Ada Web Server)

This is an entry for the benchmark suit of the tests run by TechEmpower, using the AWS framework.

Structure

The structure is simple: the URL is taken and parsed and the page portion is used to look up and execute a callback that has been associated with that string. If there is no such association, then the error-page displays the submitted URL's page and the registered pages.

Generally, the tests are of the form tests.PAGE_NAME –both ads and adb files– with three exceptions:
tests.get_callbacks — The function returning the associated callbacks.
tests.callbacks — The package containing the callbacks and listing functions (get_callbacks is used to initialize the constant used by the system).
tests.database — The package for interfacing into the database; interface is intended to be accomplished via task DB_Interface.

Requirements

Tests

1: JSON serialization
2: Single database query
3: Multiple database queries
4: Fortunes
5: Database updates
6: Plaintext

Notes

I could not get any database interfacing working acceptably on my home machine, I was going to use InterBase/ODBC but the ODBC manager itself seemed unable to associate with the FRAMEWORK_TEST.IB file except under odd circumstances.

Something went wrong with that request. Please try again.