Dynamoid / dynamoid

Ruby ORM for Amazon's DynamoDB.
MIT License
580 stars 195 forks source link

Optimise #save #623

Closed andrykonchin closed 1 year ago

andrykonchin commented 1 year ago

Improve saving:

codecov[bot] commented 1 year ago

Codecov Report

Merging #623 (d2d67fc) into master (103a4c7) will decrease coverage by 0.05%. The diff coverage is 100.00%.

:exclamation: Current head d2d67fc differs from pull request most recent head e93054b. Consider uploading reports for the commit e93054b to get more accurate results

@@            Coverage Diff             @@
##           master     #623      +/-   ##
==========================================
- Coverage   90.22%   90.18%   -0.05%     
==========================================
  Files          61       60       -1     
  Lines        3100     3076      -24     
==========================================
- Hits         2797     2774      -23     
+ Misses        303      302       -1     
Impacted Files Coverage Δ
lib/dynamoid/components.rb 100.00% <ø> (ø)
...dynamoid/adapter_plugin/aws_sdk_v3/item_updater.rb 100.00% <100.00%> (ø)
lib/dynamoid/dirty.rb 96.42% <100.00%> (+0.04%) :arrow_up:
lib/dynamoid/fields.rb 100.00% <100.00%> (ø)
lib/dynamoid/persistence.rb 98.06% <100.00%> (-0.02%) :arrow_down:
lib/dynamoid/persistence/import.rb 100.00% <100.00%> (ø)
lib/dynamoid/persistence/save.rb 96.36% <100.00%> (-3.64%) :arrow_down:
lib/dynamoid/document.rb 95.12% <0.00%> (-0.44%) :arrow_down:
lib/dynamoid/adapter_plugin/aws_sdk_v3.rb 94.30% <0.00%> (-0.18%) :arrow_down:
... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 1 year ago

Code Coverage

Package Line Rate Health
dynamoid 90%
Summary 90% (2812 / 3117)

Minimum allowed line rate is 90%