vzhd1701 / csv2notion

Import/Merge CSV files into Notion database
MIT License
74 stars 10 forks source link

[Bug]: `csv2notion --version` is slow to execute #6

Closed latenitefilms closed 2 years ago

latenitefilms commented 2 years ago

csv2notion version

csv2notion 0.3.0

What OS are you using?

MacOS

OS Version / Linux distribution

macOS 12.4

Bug description

Simply executing ./csv2notion --version is slow to execute - it takes around 7sec on my machine.

Is there any reason for this? I'd expect it to be instant, given it's just returning a baked in version number?

Log excerpt

No response

vzhd1701 commented 2 years ago

Do you use compiled binary or did you install it with Homebrew?

latenitefilms commented 2 years ago

I'm using the compiled binary.

vzhd1701 commented 2 years ago

This is expected. The binary is compiled with pyinstaller, which means it unpacks before execution. If you want it to start faster, then I recommend installing it with Homebrew.

latenitefilms commented 2 years ago

Ahhh, gotcha. Thanks!