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

Use in-place commands when possible to increase speed #192

Merged
merged 10 commits into from
Sep 20, 2024
Merged

Conversation

korenmiklos
Copy link
Member

Summary

For generate, egen and replace, removed setdf from the end to avoid copying the entire df.

Related Issues

Number of Passing Unit Tests

474/474

Also see test/speed.jl (I should turn this into a unit test!)

Checklist

  • Version number has been bumped in Project.toml

Tests

  • ] test runs without errors
  • Unit tests have been added
  • This is a refactoring, no new tests required

Documentation

  • Documentation has been updated
  • No change to public API, documentation not required

No change to API, but speed benchmarks have been updated.

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/codegen.jl 95.23% <100.00%> (+0.59%) ⬆️
src/commands.jl 95.83% <100.00%> (+0.22%) ⬆️
src/functions.jl 87.50% <100.00%> (ø)

... and 1 file with indirect coverage changes

- This is for 20m rows and 20 columns, 9 executions of generate log(x)
- Current time is median time is 4-5 seconds, raising bar to 10 seconds to have some slack
- Julia nightly builds were slower
@gergelyattilakiss gergelyattilakiss merged commit de27b4c into main Sep 20, 2024
6 of 9 checks passed
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