Commit Graph

1133 Commits

Author SHA1 Message Date
Azareal 244b75c5fe optimise alerts with sync pool 2020-04-21 09:59:23 +10:00
Azareal ad4763a883 use string builder pool for mysql query strings
get more mysql queries to use string builders
use consts instead of vars for growth hint variables
2020-04-21 09:39:35 +10:00
Azareal c8d021d70b serve brotli in plugin hyperdrive
bypass on inner in plugin hyperdrive
2020-04-14 07:09:51 +10:00
Azareal 26590c4d80 fix travis 2020-04-13 16:48:11 +10:00
Azareal 01cece2ad6 cache the second page of the topic list too 2020-04-13 16:44:20 +10:00
Azareal 7827e99c80 fix plugin hyperdrive content type bug 2020-04-13 16:03:01 +10:00
Azareal 383fbaa4bc rehome plugin hyperdrive 2020-04-13 15:58:37 +10:00
Azareal b67b95ce98 rehome plugin hyperdrive to extend instead of main in the package def
clean up plugin hyperdrive
2020-04-13 15:55:13 +10:00
Azareal 584a50b461 reuse gzip writers with a sync pool 2020-04-13 14:54:47 +10:00
Azareal 952a58176b avoid loading useless files into memory 2020-04-13 14:17:22 +10:00
Azareal faf215f388 try speeding up static files with brotli
track ref routes for a bit to debug them
hit more bots with MicroNotFound
2020-04-13 13:28:52 +10:00
Azareal 1dc69ed89e add headless chrome ua 2020-04-12 18:33:24 +10:00
Azareal fbc50c9086 eliminate string allocs for HasWidgets
add BuildWidgets3 to avoid string allocs and redundant w.Write calls in templates
2020-04-12 15:37:38 +10:00
Azareal 5fe0c8c95b add BuildWidget2 to avoid allocing as many strings in templates for docks
dynamic load /topics/ page where possible
reduce boilerplate
2020-04-12 15:00:15 +10:00
Azareal d1506d8567 avoid full page load for /topics/
save bytes
2020-04-11 18:12:37 +10:00
Azareal 3d87ad8895 accelerate other view topic entrypoints 2020-04-11 07:48:30 +10:00
Azareal 5a9e0c72d3 try to optimise DefaultLikeStore.BulkExists
initial like tests
2020-04-10 11:32:02 +10:00
Azareal d74471d591 fix createdAt error for reply likes on newer mariadb 2020-04-10 08:44:52 +10:00
Azareal 7d30a66d26 try to filter out bot referrers more effectively
megaindex update didn't save properly
2020-04-09 19:30:51 +10:00
Azareal 64edf18e73 replace some spaces with tabs to save bytes 2020-04-09 18:59:41 +10:00
Azareal f6c5109fc7 hover styling for topic list moderation
add megaindex user agent
reduce boilerplate and save bytes
hide elapsed on nox mobile
2020-04-09 18:35:43 +10:00
Azareal 709b0d5541 save bytes 2020-04-05 13:18:36 +10:00
Azareal 22af6f19cd avoid amending reglogs on register 2020-04-05 07:27:20 +10:00
Azareal 49a3837621 add netcraft user agent and alt mj12bot matcher 2020-04-04 19:03:11 +10:00
Azareal 4d45fb8710 add burf.co user agent 2020-04-04 13:21:59 +10:00
Azareal afb05ab409 add nimbostratus user agent 2020-04-04 13:10:18 +10:00
Azareal 545a29a8cf fix alert cache checks 2020-04-04 13:01:34 +10:00
Azareal d2fc2e26ea debug code 2020-04-04 12:58:07 +10:00
Azareal 3114c5afdc reduce page switch overhead 2020-04-04 12:51:31 +10:00
Azareal 943ab18761 avoid sending the same bytes over and over when the alert list hasn't changed
save bytes in activity feed queries
save bytes in scripts
2020-04-04 11:25:59 +10:00
Azareal e2293b3495 rudimentary css minification
eliminate carriage returns in scripts
2020-04-03 15:53:15 +10:00
Azareal 04a12ccd91 save a few more bytes 2020-04-03 12:09:43 +10:00
Azareal 4bfb8b0005 missed a spot 2020-04-03 09:06:26 +10:00
Azareal 00a2456376 save bytes in search queries 2020-04-03 09:00:58 +10:00
Azareal d920fe0a86 test mfa auth against it's own generated token 2020-04-03 08:57:46 +10:00
Azareal 8b059ac877 other mfa store tests
save a few bytes
2020-04-03 08:24:32 +10:00
Azareal 95d3f9ebe1 try to reduce noise in tests
save bytes
2020-04-03 06:25:55 +10:00
Azareal 1fe51768f0 initial mfa tests
save a few bytes
2020-04-03 06:19:42 +10:00
Azareal e7b2333481 update second scratch slot properly 2020-04-02 21:00:01 +10:00
Azareal 581f86eeba shorten ucache to uc in misc test
shorten a few bits of html
2020-04-02 17:39:49 +10:00
Azareal 21d09db477 add CCBot user agent 2020-03-31 23:10:29 +10:00
Azareal bc16b724c2 avoid loading as many alerts outside of the bounding box 2020-03-31 22:33:40 +10:00
Azareal fc6544d620 add mattermost ua
save bytes in req dump

phrases:

rename panel_group_promotion_registered_for to panel_group_promotion_reg_for
rename panel_group_promotion_registered_months_suffix to panel_group_promotion_reg_months_suffix
rename panel_group_promotion_registered_days_suffix to panel_group_promotion_reg_days_suffix
rename panel_group_promotion_registered_hours_suffix to panel_group_promotion_reg_hours_suffix
2020-03-28 15:39:05 +10:00
Azareal 48b0b410c9 add a few more parser tests
save bytes in the parser
save allocs in external image embeds in the parser
save alloc bytes in convos
2020-03-28 14:48:42 +10:00
Azareal d3b2721746 optimise attach exts
optimise PrepResources
2020-03-28 09:10:54 +10:00
Azareal cd66782129 push content type for opensearch
don't insert a last ip on installation
save bytes and allocs in the parser
add attach parser test cases
more benchmarks
2020-03-28 07:01:44 +10:00
Azareal 6b003499a7 too early... 2020-03-27 22:08:37 +10:00
Azareal b53577a126 fix MicroNotFound
reduce allocs in cdn push
2020-03-27 22:00:29 +10:00
Azareal 3adee57b37 save allocs in router
better logging for bad char in path
router_pre_route hook now returns properly
2020-03-27 16:05:35 +10:00
Azareal dd5aef22dd fix the order of the status code / header pushes in errors 2020-03-27 13:41:28 +10:00