gotosocial/internal
kim e3c2b790fd
[performance] minimise log field allocations (#3529)
* when appending log field only do so by minimal amount

* move slice utils to separate package to fix import cycle, add GrowJust() and AppendJust() functions

* fix GrowJust() not returning slice of same length

* improved xslices tests

* make AppendJust() test check for slice contents, fix AppendJust() final copying behaviour

* add a +1 with field growth to try minimise allocation for log 'msg' field
2024-11-11 15:45:19 +00:00
..
ap [feature] Distribute + ingest Accepts to followers (#3404) 2024-10-08 08:51:13 +00:00
api [bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517) 2024-11-05 22:16:06 +00:00
cache [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
cleaner [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
config [feature] add support for hinting via api/v_/instance preferred image / video max sizes (#3505) 2024-11-04 15:00:10 +01:00
db [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
email [bugfix/email] Don't use plainAuth when no smtp username/password provided (#3332) 2024-09-23 16:07:13 +02:00
federation [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
filter [bugfix] Only allow boosting post from non-interaction-policy-aware instance if public or unlisted (#3396) 2024-10-05 19:15:02 +02:00
gtscontext [bugfix] httpclient not signing subsequent redirect requests (#2798) 2024-04-02 13:12:26 +02:00
gtserror [bugfix] Return 501 (not implemented) if user tries to schedule post (#3395) 2024-10-05 19:14:53 +02:00
gtsmodel [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
media [chore] update go ffmpreg to v0.6.0 (#3515) 2024-11-06 14:38:13 +01:00
messages [bugfix] incorrect AP serialize function used serializing worker data (#3196) 2024-08-12 18:23:24 +02:00
metrics [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
middleware [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
oauth [chore] Upgrade our Go version to 1.22 (#2862) 2024-04-26 10:40:29 +02:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging [bugfix] flaky paging test (#2888) 2024-05-01 13:29:42 +02:00
processing [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
queue [performance] update go-structr and go-mutexes with memory usage improvements (#2909) 2024-05-13 08:05:46 +00:00
regexes [feature] Federate interaction policies + Accepts; enforce policies (#3138) 2024-07-26 12:04:28 +02:00
router [chore] ensure consistent caller name fetching regardless of compiler inlining (#3323) 2024-09-20 13:30:33 +00:00
scheduler [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
state [bugfix] Lock when checking/creating notifs to avoid race (#2890) 2024-05-02 13:43:00 +01:00
storage [bugfix] s3 media uploaded without content-type (#3353) 2024-09-26 14:43:10 +02:00
stream [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
text [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
timeline [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
tracing [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
trans [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
transport [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
typeutils [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
uris [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
util [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
validate [feature] Implement Filter API v2 (#2936) 2024-05-31 12:55:56 +02:00
web [chore] More AI blocking (#3273) 2024-09-07 17:21:36 +02:00
workers [chore] reduce number admin process workers (#3354) 2024-09-26 09:40:49 +02:00