Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19399

do not call slow my_timer_init() several times

    XMLWordPrintable

Details

    Description

      my_thr_timer() call times() which is slow at least on my system. Maybe it's due to spectre mitigations, I don't know. Flame graph shows profiling data for empty test. Perfschema and InnoDB storage engines calls my_thr_timer() while both can actually use the one initialized by server.

      Attachments

        1. fixed_10.1.svg
          1.14 MB
          Eugene Kosov
        2. original_10.1.svg
          960 kB
          Eugene Kosov

        Activity

          People

            kevg Eugene Kosov (Inactive)
            kevg Eugene Kosov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.