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

feat: added serialization header to CS and debug info to all constraints with -tags=debug #347

Merged
merged 11 commits into from
Jul 22, 2022

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Jul 21, 2022

  • feat: added GnarkVersion semver tag in cs serialized objects
  • feat: store debug info stack for all constraints if debug tag is set
  • doc: added TODO
  • fix: round trip serialization test of cs
  • fix: stack parsing

@gbotrel gbotrel requested a review from ivokub July 21, 2022 16:17
Copy link
Collaborator

@ivokub ivokub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the PR makes sense.

debug/debug.go Show resolved Hide resolved
doc.go Show resolved Hide resolved
frontend/compiled/cs.go Show resolved Hide resolved
frontend/compiled/cs.go Show resolved Hide resolved
@gbotrel gbotrel merged commit d8ab4c9 into develop Jul 22, 2022
gbotrel added a commit that referenced this pull request Aug 2, 2022
gbotrel added a commit that referenced this pull request Aug 3, 2022
* feat: added profile/ to output pprof style constraint profiler

* feat: gnark/profile allows multiple overlapping profiling sessions

* feat: added profile.Top()

* feat: added profile.NbConstraints()

* docs: added package level profile example

* style: code cleaning

* fix: fix CI trim path for test purposes

* fix: fix previous commit

* clean: revert part of #347 with redundant debug info

* clean: remove deadcode and kill api.Tag and api.Counter

* fix: saving files helps
@gbotrel gbotrel deleted the feat/debugstack branch August 21, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants