This application starts a server which will return the number of times a word
or phrase appears in the works of Shakespeare and send queries to that server
to create load.
This application's server is intentionally non-optimal. Profiler is enabled for
this application, and can be used identify how to optimize the server.
Running the application
Get the application code:
git clone https://github.com/GoogleCloudPlatform/golang-samples.git
cd golang-samples/profiler/shakesapp
Shakesapp is a web application which starts up a server that can be
queried to determine how many times a string appears in the works of
Shakespeare and then sends requests to that server.
Package shakesapp defines a server which can be queried to determined many times a string appears in the works of Shakespeare, and a client which can be used to send load to that server.
Package shakesapp defines a server which can be queried to determined many times a string appears in the works of Shakespeare, and a client which can be used to send load to that server.
Click to show internal directories.
Click to hide internal directories.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to
analyze traffic. Learn more.