Skip to content

Repository is almost 450MB #1497

Description

@toomanybananas

The size of this repository is 436MB unpacked (although the download is 'only' ~150MB), which is insane for a tiny JSON parsing library. There are multiple cases where (IMO) the size can be trimmed down massively without actually impacting the repo.

The .git directory is 178MB, likely since you have a lot of changed binary files. You can easily slash the size of this directory by ~90% using git repack (which has drawbacks for repo history, but unless you really care about specific info about changes from years ago this is fine).

Why do you have a 23MB file of 1000000 signed integers in test/data/regression/signed_ints.json Do any of those ints besides the first few thousand really contribute any code coverage? I'd wager not. If the purpose of that many is to make sure the program can handle really large JSON files, why is there also another 23MB of unsigned integers? And 22MB of floats? Having lots of tests is good but this is seriously affecting users with slow internet speed who want to contribute to the project.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions