Skip to content

chore/perf: solid foundation - part 3#27

Open
paulocoghi wants to merge 5 commits into
masterfrom
refactor-solid-foundation-part3
Open

chore/perf: solid foundation - part 3#27
paulocoghi wants to merge 5 commits into
masterfrom
refactor-solid-foundation-part3

Conversation

@paulocoghi
Copy link
Copy Markdown
Member

@paulocoghi paulocoghi commented May 21, 2026

  • refactor: decouple ctx.store from the serializable AnyData and avoid unnecessary (de)serialization
  • docs: document ctx.store usage
  • refactor/perf: add native Time and Bytes to AnyData while refactoring JSON and MessagePack serializers
  • refactor/perf: optimized MsgpackSerializer by taking into consideration the internals of the msgpack-crystal shard

@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ad0c7d0) to head (2473ad4).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         1046      1131   +85     
=========================================
+ Hits          1046      1131   +85     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/adapter/memory.cr 100.00% <100.00%> (ø)
src/http/serializers/json_serializer.cr 100.00% <100.00%> (ø)
src/http/serializers/msgpack_serializer.cr 100.00% <100.00%> (ø)
src/schema/base.cr 100.00% <100.00%> (ø)
src/schema/validator.cr 100.00% <100.00%> (ø)
src/service/context.cr 100.00% <100.00%> (ø)
src/testing/adapter_suite.cr 100.00% <100.00%> (ø)

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.

1 participant