Add a README file for examples
This commit is contained in:
parent
f5c97d33cd
commit
b155aa1b1a
|
@ -48,7 +48,7 @@
|
||||||
//any synchronous interface of it.
|
//any synchronous interface of it.
|
||||||
"is_fast": false,
|
"is_fast": false,
|
||||||
//connection_number: 1 by default, if the 'is_fast' is true, the number is the number of
|
//connection_number: 1 by default, if the 'is_fast' is true, the number is the number of
|
||||||
connections per IO thread, otherwise it is the total number of all connections.
|
//connections per IO thread, otherwise it is the total number of all connections.
|
||||||
"connection_number": 1
|
"connection_number": 1
|
||||||
}
|
}
|
||||||
],*/
|
],*/
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
//any synchronous interface of it.
|
//any synchronous interface of it.
|
||||||
"is_fast": false,
|
"is_fast": false,
|
||||||
//connection_number: 1 by default, if the 'is_fast' is true, the number is the number of
|
//connection_number: 1 by default, if the 'is_fast' is true, the number is the number of
|
||||||
connections per IO thread, otherwise it is the total number of all connections.
|
//connections per IO thread, otherwise it is the total number of all connections.
|
||||||
"connection_number": 1
|
"connection_number": 1
|
||||||
}
|
}
|
||||||
],*/
|
],*/
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Drogon Examples
|
||||||
|
|
||||||
|
The following examples can help you understand how to use Drogon:
|
||||||
|
|
||||||
|
1. [benchmark](https://github.com/an-tao/drogon/tree/master/examples/benchmark) - Basic benchmark example. see [wiki benchmarks](https://github.com/an-tao/drogon/wiki/13-Benchmarks)
|
||||||
|
2. [client_example](https://github.com/an-tao/drogon/tree/master/examples/client_example/main.cc) - A client example.
|
||||||
|
3. [simple_example](https://github.com/an-tao/drogon/tree/master/examples/simple_example) - A simple example showing how to create a web application using Drogon.
|
||||||
|
4. [simple_example_test](https://github.com/an-tao/drogon/tree/master/examples/simple_example_test) - Some tests for the `simple_example`.
|
||||||
|
|
||||||
|
### [TechEmpower Framework Benchmarks](https://github.com/TechEmpower/FrameworkBenchmarks) test suite
|
||||||
|
|
||||||
|
I created a benchmark suite for the `tfb`, see [here](https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/C%2B%2B/drogon) for details.
|
Loading…
Reference in New Issue