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

Create LICENSE.md #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

soumyadsanyal-harrys
Copy link

Add MIT license.

To avoid the overhead incurred of one (open, write, close) of the local
file per record, open the local file once per batch and store it in the
context for re-use across the batch.

I haven't finished processing the results of the pre-patch run against
the same data (because it's taking so long), but the run with this patch
took only 20 seconds:
```
poetry run target-s3-jsonl --config .config --input braze-output.singer  20.03s user 1.18s system 42% cpu 49.574 total
```

And, anecdotally, I was able to get a full meltano run of tap-braze ->
target-s3-jsonl run in ~11 minutes on my local machine.
jwisdom-harrys
jwisdom-harrys previously approved these changes Feb 15, 2023
@soumyadsanyal-harrys
Copy link
Author

soumyadsanyal-harrys commented Feb 15, 2023

Rebased on re-use-fd-per-batch, please merge in that order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants