`tile_state`, which stats the metatile and the planet timestamp, was called from both `tile_storage_hook` and `add_expiry`. When the tile is current, we can reuse that stat unchanged instead of statting again. Small speedup of ~5% to Apache CPU time per tile request. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/520 -- Commit Summary -- * stat a current tile once per request -- File Changes -- M includes/mod_tile.h (1) M src/mod_tile.c (5) -- Patch Links -- https://github.com/openstreetmap/mod_tile/pull/520.patch https://github.com/openstreetmap/mod_tile/pull/520.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/mod_tile/pull/520 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/mod_tile/pull/[email protected]>
_______________________________________________ Tile-serving mailing list [email protected] https://lists.openstreetmap.org/listinfo/tile-serving
