Skip to content

midgard_config::open_config is slow #116

@flack

Description

@flack

I recently did some profiling on openpsa requests with Cachegrind and to my surprise, it turned out that the single most expensive function called is usually midgard_config::open_config(). for example, in AJAX requests, where there is not much going on in the framework level (no navgiation rendering, only very simple styling), open_config accounts for more than 80% of the total request time. In normal requests, open_config uses 30 - 50% of the total time.

This was tested in a VM on Ubuntu 13.04 with PHP 5.5.3 with a MySQL database running locally (using gda5). Unfortunately, in Cachegrind, I cannot see what happens inside of open_config(), so I was wondering: Is there any way to find out what is taking so much time? Also, is there any way to speed this up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions