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

Facing an error while running Rson vs Jsonski benchmark #30

Closed
gandharva26 opened this issue Oct 10, 2022 · 4 comments
Closed

Facing an error while running Rson vs Jsonski benchmark #30

gandharva26 opened this issue Oct 10, 2022 · 4 comments
Assignees
Labels
area: benchmarks Benchmark suites and infrastructure closed: user error Bug/issue resolved on the user's side type: bug Something isn't working type: question Further information is requested

Comments

@gandharva26
Copy link

Describe the bug
A clear and concise description of what the bug is.

I am trying to run rson vs jsonski benchmark facing this error where I am unable to debug since I am not experienced with Rust. I have attached the image.

Proposed solution (optional)
Idea on an appropriate fix.

Desktop (please complete the following information):

  • MacOS - i9
  • rustc 1.64.0 (a55dd71d5 2022-09-19)

Additional context
Add any other context about the problem here.
image

@gandharva26 gandharva26 added type: bug Something isn't working acceptance: triage Waiting for owner's input labels Oct 10, 2022
@V0ldek
Copy link
Member

V0ldek commented Oct 11, 2022

Hey @gandharva26

You should run benches with the following command ran from the root directory of the project:

cargo bench --bench <name>

So in your case you'd navigate to /Users/gandharvadeshpande/Workplace/rsonpath and run

cargo bench --bench rsonpath_vs_jsonski

Please tell me if this works :)

@gandharva26
Copy link
Author

Thanks! It worked, i was probably running the wrong command.

@V0ldek
Copy link
Member

V0ldek commented Oct 11, 2022

I'll close this issue but follow up on it here to make dev experience a bit better: #32

Thanks for reporting!

@V0ldek V0ldek closed this as completed Oct 11, 2022
@V0ldek V0ldek added type: question Further information is requested closed: user error Bug/issue resolved on the user's side and removed acceptance: triage Waiting for owner's input labels Oct 11, 2022
@V0ldek
Copy link
Member

V0ldek commented Nov 16, 2022

Changed in #4, now running the bench as in the issue results in the following error:

image

@V0ldek V0ldek added the area: benchmarks Benchmark suites and infrastructure label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: benchmarks Benchmark suites and infrastructure closed: user error Bug/issue resolved on the user's side type: bug Something isn't working type: question Further information is requested
Projects
Status: Released
Development

No branches or pull requests

2 participants