Skip to content

Commit

Permalink
feat: add benchmark comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosCostaDev authored Aug 5, 2023
1 parent bfb074f commit 9041d92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,18 @@ Project Url [https://github.com/MarcosCostaDev/minimal-api-docker-TDD](https://g
}
```
- `GET /pessoas/[id]` for retrieving a record of a person created using replacing `[id]` with the `person id`.
- `GET /pessoas/t=[your search]` for retrieving records that contain the words informed, replace `[your search]` with your actual search.
- `GET /contagem-pessoas` for retrieving the number of people created.

### Exploring more

#### Running benchmark

The benchmark is running using the Test project. The process will execute firstly a `docker-compose up` and then execute many requests against the API.
- Open the `./src` folder
- Open a `terminal` / `bash` and execute `dotnet test RinhaBackEnd.sln --filter 'Integration!=ignore'`
- After execution, you will be able to see the table of benchmark results.
-


<!--Add-Migration Initial -context PeopleDbContext -project RinhaBackEnd -StartupProject RinhaBackEnd -Args "-- --provider Sqlite"-->
Expand Down

0 comments on commit 9041d92

Please sign in to comment.