Skip to content

Benchmarking has bogus numbers #13

Description

@tychay

Seen in Fedora Core

Running standard benchmarking scripts.

We are getting negative values and extremely large numbers (much longer times than the full page time).

  • This is either related to getrusage() not returning microtimes or bcmath not being installed on the server.
  • When yum install php-bcmath (and server restart), benchmarking is much better (but there is still division by zero).
  • So this means that my bcmath substitute functions are buggy.

However the ratios and division by zeros appear, which means that the getrusage() not handling micro values is also buggy. :-(

In the meantime, I'll use the walltime instead of the rtime and use php-bcmath()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions