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

do not call slow my_timer_init() several times

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

        Activity

          Transition Time In Source Status Execution Times
          Eugene Kosov (Inactive) made transition -
          Open In Progress
          8m 54s 1
          Sergey Vojtovich made transition -
          In Review Stalled
          30m 13s 1
          Marko Mäkelä made transition -
          Stalled Closed
          2m 58s 1
          Marko Mäkelä made transition -
          Closed Stalled
          1h 5m 1
          Eugene Kosov (Inactive) made transition -
          Stalled In Progress
          18h 13m 1
          Eugene Kosov (Inactive) made transition -
          In Progress In Review
          11h 55m 2
          Marko Mäkelä made transition -
          In Review Closed
          2d 8h 58m 1

          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.