Skip to content
Draft
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b68f5a0
rust 1.94 fmt
cylewitruk-stacks Mar 22, 2026
cc76c23
new ResidentBytes trait and impls for memory footprint tracking
cylewitruk-stacks Mar 22, 2026
dc9393b
add clarity parsed contract cache and related tests
cylewitruk-stacks Mar 24, 2026
3cfee13
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Mar 24, 2026
ec26369
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Mar 25, 2026
8a29795
improve memory approximation calculations for btree/hash map/set and …
cylewitruk-stacks Mar 26, 2026
936d775
add tests for everything (code coverage)
cylewitruk-stacks Mar 26, 2026
ce2b29c
undo accidental rustfmt
cylewitruk-stacks Mar 27, 2026
92fd568
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Mar 27, 2026
f1a36a1
merge upstream/develop into perf/clarity-contract-cache
cylewitruk-stacks Mar 28, 2026
09dfde7
merge upstream/develop into perf/clarity-resident-bytes
cylewitruk-stacks Mar 30, 2026
5969e81
copilot pr comments and docs improvements
cylewitruk-stacks Mar 30, 2026
a66a77f
add changelog.d entry
cylewitruk-stacks Mar 30, 2026
eea7e1f
merge upstream/develop into perf/clarity-contract-cache
cylewitruk-stacks Mar 30, 2026
39105fb
clarify arc comment and make contractcontext test more robust
cylewitruk-stacks Mar 30, 2026
949f70f
Merge branch 'perf/clarity-resident-bytes' into perf/clarity-contract…
cylewitruk-stacks Mar 30, 2026
7da2a82
cleanup comments
cylewitruk-stacks Apr 1, 2026
902d290
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Apr 1, 2026
8ddd3e4
cleanup
cylewitruk-stacks Apr 7, 2026
c1d0587
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Apr 7, 2026
6133be0
Merge branch 'perf/clarity-resident-bytes' into perf/clarity-contract…
cylewitruk-stacks Apr 7, 2026
db25810
fix comment
cylewitruk-stacks Apr 7, 2026
feea609
fix error log logging wrong contract
cylewitruk-stacks Apr 7, 2026
edba55d
take hit snapshot after begin_block but before as_transaction in cont…
cylewitruk-stacks Apr 7, 2026
5bd6b39
add changelog.d entry
cylewitruk-stacks Apr 7, 2026
cc5c175
slightly rework hashmap calc code and add tests to prove pow2 sizing
cylewitruk-stacks Apr 16, 2026
8a20ceb
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Apr 16, 2026
68cb070
simplify ResidentBytes impl for UTF8Data
cylewitruk-stacks Apr 16, 2026
dc9ee62
improve test coverage
cylewitruk-stacks Apr 21, 2026
6afa1fd
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks Apr 21, 2026
f116aee
merge upstream/develop
cylewitruk-stacks Apr 22, 2026
82bbd8f
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks May 13, 2026
74914bf
merge upstream/develop
cylewitruk-stacks May 13, 2026
5acc562
update clarity/fuzz cargo.lock with TinyUFO
cylewitruk-stacks May 13, 2026
1d1c3ed
update stackslib/fuzz Cargo.toml with TinyUFO
cylewitruk-stacks May 13, 2026
b7c5d1f
Merge remote-tracking branch 'upstream/develop' into perf/clarity-res…
cylewitruk-stacks May 13, 2026
808abfb
Merge branch 'perf/clarity-resident-bytes' into perf/clarity-contract…
cylewitruk-stacks May 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 102 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ rusqlite = { version = "0.31.0", features = ["blob", "serde_json", "i128_blob",
thiserror = "1.0.65"
tikv-jemallocator = "0.5.4"
toml = "0.5.6"
TinyUFO = { version = "0.8.0", default-features = false }

# Use a bit more than default optimization for
# dev builds to speed up test execution
Expand Down
1 change: 1 addition & 0 deletions changelog.d/7049-clarity-type-size-approximation.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
New `ResidentBytes` trait for types which can approximate their resident memory size (stack+heap)
2 changes: 1 addition & 1 deletion changelog.d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CHANGELOG.md.

2. Write the changelog entry text in the file (one or more lines of markdown):

```
```text
Added `marf_compress` as a node configuration parameter to enable MARF compression feature ([#6811](https://github.com/stacks-network/stacks-core/pull/6811))
```

Expand Down
1 change: 1 addition & 0 deletions clarity-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub use stacks_common::{

pub mod errors;
pub mod representations;
pub mod resident_bytes;
pub mod types;

pub use errors::{ClarityTypeError, IncomparableError};
Expand Down
Loading