Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include operation times in almost all requests #49

Open
danthegoodman1 opened this issue Nov 12, 2020 · 0 comments
Open

Include operation times in almost all requests #49

danthegoodman1 opened this issue Nov 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@danthegoodman1
Copy link
Contributor

Requests such as addindex, addmultiple, etc. should have timings that are returned in the API response. See example with how search is timed, and how serializing and loading indexes are timed.

For requests that just respond with a string (update and delete) they can be given a JSON response similar to add that can include the current message, the docID in its own kv pair, and the timing.

Update should have 2 timings: one for the delete and one for the insert

Addmultiple should have a single timing that is the sum of all the individual add times

@danthegoodman1 danthegoodman1 added the enhancement New feature or request label Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants