Bug 215893 - devel/pecl-hrtime: Update to 0.6.0
Summary: devel/pecl-hrtime: Update to 0.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-09 01:48 UTC by Gasol Wu
Modified: 2017-01-11 08:28 UTC (History)
1 user (show)

See Also:


Attachments
patch file (1013 bytes, patch)
2017-01-09 01:48 UTC, Gasol Wu
gasol.wu: maintainer-approval+
Details | Diff
test on 10.3 (22.34 KB, text/plain)
2017-01-09 01:50 UTC, Gasol Wu
no flags Details
test on 11.0 (22.30 KB, text/plain)
2017-01-09 01:50 UTC, Gasol Wu
no flags Details
test on 11.0 with PHP 7 (22.52 KB, text/plain)
2017-01-09 01:51 UTC, Gasol Wu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gasol Wu 2017-01-09 01:48:23 UTC
Created attachment 178649 [details]
patch file

https://pecl.php.net/package-info.php?package=hrtime&version=0.6.0

- Major refactoring of the class structure, as described below
- HRTime\PerformanceCounter::getFrequency() is now static
- add HRTime\PerformanceCounter::getTicks()
- add HRTime\PerformanceCounter::getTicksSince()
- moved HRTime\PerformanceCounter::start() to HRTime\StopWatch::start()
- moved HRTime\PerformanceCounter::stop() to HRTime\StopWatch::stop()
- moved HRTime\PerformanceCounter::getElapsedTicks() to HRTime\StopWatch::getElapsedTicks()
- moved HRTime\PerformanceCounter::getLastElapsedTicks() to HRTime\StopWatch::getLastElapsedTicks()
- moved HRTime\PerformanceCounter::isRunning() to HRTime\StopWatch::isRunning()
Comment 1 Gasol Wu 2017-01-09 01:49:29 UTC
poudriere test:

10.3 amd64: ok
11.0 amd64: ok
11.0 amd64 with php7: ok
Comment 2 Gasol Wu 2017-01-09 01:50:27 UTC
Created attachment 178650 [details]
test on 10.3
Comment 3 Gasol Wu 2017-01-09 01:50:47 UTC
Created attachment 178651 [details]
test on 11.0
Comment 4 Gasol Wu 2017-01-09 01:51:31 UTC
Created attachment 178652 [details]
test on 11.0 with PHP 7
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-01-11 08:28:48 UTC
A commit references this bug:

Author: vanilla
Date: Wed Jan 11 08:28:09 UTC 2017
New revision: 431161
URL: https://svnweb.freebsd.org/changeset/ports/431161

Log:
  Update to 0.6.0.

  PR:		215893
  Submitted by:	maintainer

Changes:
  head/devel/pecl-hrtime/Makefile
  head/devel/pecl-hrtime/distinfo