gotosocial/vendor/codeberg.org/gruf
kim 5318054808
[performance] media processing improvements (#1288)
* media processor consolidation and reformatting, reduce amount of required syscalls

Signed-off-by: kim <grufwub@gmail.com>

* update go-store library, stream jpeg/png encoding + use buffer pools, improved media processing AlreadyExists error handling

Signed-off-by: kim <grufwub@gmail.com>

* fix duration not being set, fix mp4 test expecting error

Signed-off-by: kim <grufwub@gmail.com>

* fix test expecting media files with different extension

Signed-off-by: kim <grufwub@gmail.com>

* remove unused code

Signed-off-by: kim <grufwub@gmail.com>

* fix expected storage paths in tests, update expected test thumbnails

Signed-off-by: kim <grufwub@gmail.com>

* remove dead code

Signed-off-by: kim <grufwub@gmail.com>

* fix cached presigned s3 url fetching

Signed-off-by: kim <grufwub@gmail.com>

* fix tests

Signed-off-by: kim <grufwub@gmail.com>

* fix test models

Signed-off-by: kim <grufwub@gmail.com>

* update media processing to use sync.Once{} for concurrency protection

Signed-off-by: kim <grufwub@gmail.com>

* shutup linter

Signed-off-by: kim <grufwub@gmail.com>

* fix passing in KVStore GetStream() as stream to PutStream()

Signed-off-by: kim <grufwub@gmail.com>

* fix unlocks of storage keys

Signed-off-by: kim <grufwub@gmail.com>

* whoops, return the error...

Signed-off-by: kim <grufwub@gmail.com>

* pour one out for tobi's code <3

Signed-off-by: kim <grufwub@gmail.com>

* add back the byte slurping code

Signed-off-by: kim <grufwub@gmail.com>

* check for both ErrUnexpectedEOF and EOF

Signed-off-by: kim <grufwub@gmail.com>

* add back links to file format header information

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2023-01-11 12:13:13 +01:00
..
go-atomics [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-bitutil [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-bytes update dependencies (#296) 2021-11-13 12:29:08 +01:00
go-bytesize [chore]: Bump codeberg.org/gruf/go-bytesize from 1.0.0 to 1.0.2 (#1285) 2022-12-27 08:28:44 +00:00
go-byteutil [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-cache/v3 [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-debug [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-errors/v2 [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-fastcopy [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-fastpath [chore]: Bump codeberg.org/gruf/go-store/v2 from 2.0.9 to 2.0.10 (#1160) 2022-11-28 09:01:53 +00:00
go-hashenc [bugfix] Fix remote media pruning failing if media already gone (#548) 2022-05-08 18:49:45 +01:00
go-iotools [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-kv [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
go-logger/v2 [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
go-mangler [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-maps [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
go-mutexes [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-pools [bugfix] Fix remote media pruning failing if media already gone (#548) 2022-05-08 18:49:45 +01:00
go-runners [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-sched [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-store/v2 [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00