You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to get a handle on how quickly the Data Processor service can do calculations. Go handily provides benchmark tests. Setting these up will give us a good baseline for our performance that we can use to test out improvements if they're needed.
Solution
Describe the solution to the problem.
No Gos
Describe any features or behaviors that have been considered and rejected as out of scope for this project.
Rabbit Holes
Describe any solutions to problems that pose a risk to completing this project on time.
The text was updated successfully, but these errors were encountered:
funcBenchmarkJobsEndpoint(b*testing.B) {
// Find a way to time how long it takes to do this bash snippet// go run cmd/processor/main.go//// for i in {1..100}; do \// curl -X POST -H "Content-Type application/json" \// -d '{"docid": "mydocid'$i'"}' \// http://localhost:8080/jobs/; done//// time how long it takes to "process" the 100 jobs
}
Problem
We want to get a handle on how quickly the Data Processor service can do calculations. Go handily provides benchmark tests. Setting these up will give us a good baseline for our performance that we can use to test out improvements if they're needed.
Solution
Describe the solution to the problem.
No Gos
Describe any features or behaviors that have been considered and rejected as out of scope for this project.
Rabbit Holes
Describe any solutions to problems that pose a risk to completing this project on time.
The text was updated successfully, but these errors were encountered: