Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
core
core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 234
    • Issues 234
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hubzilla
  • corecore
  • Issues
  • #1440

Closed
Open
Opened Jan 31, 2020 by Sébastien Huss@sebt3

Optimisation: fetch_post_tags does useless call to chanlink_url

The function in title account for 0.75s on the '/update/network/load' url. With the attached patch, it now account for 0.25s. Half a second win on a rPI4.

  • Before : https://sebt3.freeboxos.fr/xhprof/xhprof_html/?run=5e33e8040aad4&sort=excl_cpu&source=data&symbol=fetch_post_tags
  • After : https://sebt3.freeboxos.fr/xhprof/xhprof_html/?run=5e33f3e847dd5&sort=excl_cpu&source=data&symbol=fetch_post_tags

Patch : fetch_post_tag.patch

EDIT: after testing with xhprof disabled, the gain is more in the 0.1s range... still

Edited Jan 31, 2020 by Sébastien Huss
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: hubzilla/core#1440