Expected Behavior
An attempt should be made to reduce disk space consumed by the package, avoiding obvious duplication and substantial wastes of space on disk.
Actual Behavior
Several large life resource redundancies exist, causing the insomnia package takes up a rather significant amount of disk space (2.5GB on my system in question), in no small part due to the app resources which include the extracted and unextracted electron asar.
- Compressed and extracted
app.asar, if the resources have been extracted for electron, why not remove the half a gigabyte of wasted space in the archive.
- Presumably the
node_modules extracted contain a severe amount of duplication at that size, I would think better bundle generation could be done here for distribution (but that's another issue).
- Duplicate binaries (
insomnia.dll and insombia-x.x.x.exe are the same file with two names, per checksum) and over 200MB each.
I'm sure there are others beyond this quick check, but its likely the space on disk could be easily cut in half or more with basic cleanup of the distributables.
Reproduction Steps
- Install insomnia
- Observe installation directory
Is there an existing issue for this?
Which sync method do you use?
Additional Information
It would seem a simple remediation of some wasted disk space to delete the app.asar following its extraction to reduce the amount of space consumed by the electron resources.
Additionally, the redundant inclusion of the same binary with 2 different names in both dll and exe form:
Local/insomnia/app-12.5.0
❯ Get-FileHash -Path .\insomnia-12.5.0.exe
Algorithm Hash Path
--------- ---- ----
SHA256 01457ACB3CC12B70A724B1325D403B88419A5EA6DE6F75D936C1FA102804CF6F
Local/insomnia/app-12.5.0
❯ Get-FileHash -Path .\insomnia.dll
Algorithm Hash Path
--------- ---- ----
SHA256 01457ACB3CC12B70A724B1325D403B88419A5EA6DE6F75D936C1FA102804CF6F
Insomnia Version
12.5.0
What operating system are you using?
Windows
Operating System Version
Windows 10 22H2
Installation method
insomnia.rest download
Last Known Working Insomnia version
No response
Expected Behavior
An attempt should be made to reduce disk space consumed by the package, avoiding obvious duplication and substantial wastes of space on disk.
Actual Behavior
Several large life resource redundancies exist, causing the insomnia package takes up a rather significant amount of disk space (2.5GB on my system in question), in no small part due to the app resources which include the extracted and unextracted electron
asar.app.asar, if the resources have been extracted for electron, why not remove the half a gigabyte of wasted space in the archive.node_modulesextracted contain a severe amount of duplication at that size, I would think better bundle generation could be done here for distribution (but that's another issue).insomnia.dllandinsombia-x.x.x.exeare the same file with two names, per checksum) and over 200MB each.I'm sure there are others beyond this quick check, but its likely the space on disk could be easily cut in half or more with basic cleanup of the distributables.
Reproduction Steps
Is there an existing issue for this?
Which sync method do you use?
Additional Information
It would seem a simple remediation of some wasted disk space to delete the
app.asarfollowing its extraction to reduce the amount of space consumed by the electron resources.Additionally, the redundant inclusion of the same binary with 2 different names in both dll and exe form:
Insomnia Version
12.5.0
What operating system are you using?
Windows
Operating System Version
Windows 10 22H2
Installation method
insomnia.rest download
Last Known Working Insomnia version
No response