Page MenuHomePhabricator

☂ Benchmark maintenance script
Closed, ResolvedPublic

Description

Evaluate meaningful metrics associated with executing Wikispeech on a WM page.

Event Timeline

Change 631719 had a related patch set uploaded (by Karl Wettin (WMSE); owner: Karl Wettin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Speechoid/Wikispeech benchmark maintenance script

https://gerrit.wikimedia.org/r/631719

Notice that there is no test for the benchmark.php maintenance script. I don't even know what such test should investigate or how it should be able to execute the benchmark.

vagrant@vagrant:/vagrant/mediawiki$ php extensions/Wikispeech/maintenance/benchmark.php -p Barack_Obama
Benchmarking page Barack Obama using language en and voice cmu-slt-hsmm.
Segmenting...
Synthesizing 1412 segments...
............................................................... 63 / 1412, ETA ~127 minutes (~5s/seg)
...........E................................................... 126 / 1412, ETA ~132 minutes (~6s/seg)
............................................................E.. 189 / 1412, ETA ~123 minutes (~6s/seg)
..........................E....E.......E.......E............... 252 / 1412, ETA ~115 minutes (~5s/seg)
.................E............................................. 315 / 1412, ETA ~113 minutes (~6s/seg)
........................................E...................E.. 378 / 1412, ETA ~108 minutes (~6s/seg)
........................EE..................................... 441 / 1412, ETA ~100 minutes (~6s/seg)
............................................................... 504 / 1412, ETA ~94 minutes (~6s/seg)
........E...E.........E............E........................... 567 / 1412, ETA ~88 minutes (~6s/seg)
...................E........................................... 630 / 1412, ETA ~81 minutes (~6s/seg)
...............E............................................... 693 / 1412, ETA ~70 minutes (~5s/seg)
............................................................... 756 / 1412, ETA ~61 minutes (~5s/seg)
............................................................... 819 / 1412, ETA ~53 minutes (~5s/seg)
............................................................... 882 / 1412, ETA ~46 minutes (~5s/seg)
............................................................... 945 / 1412, ETA ~39 minutes (~5s/seg)
............................................................... 1008 / 1412, ETA ~33 minutes (~4s/seg)
............................................................... 1071 / 1412, ETA ~27 minutes (~4s/seg)
............................................................... 1134 / 1412, ETA ~21 minutes (~4s/seg)
............................................................... 1197 / 1412, ETA ~16 minutes (~4s/seg)
............................................................... 1260 / 1412, ETA ~11 minutes (~4s/seg)
............................................................... 1323 / 1412, ETA ~6 minutes (~4s/seg)
............................................................... 1386 / 1412, ETA ~1 minutes (~4s/seg)
..........................


Exception after 821.85327148438 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 846.0791015625 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 711.22290039062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
In February 1981, Obama made his first public speech, calling for Occidental to participate in the disinvestment from South Africa in response to that nation's policy of apartheid.

Exception after 819.88134765625 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 779.93579101562 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 657.34790039062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
His speech was well received and elevated his status within the Democratic Party.

Exception after 878.99291992188 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 710.96801757812 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 891.66772460938 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
He met with Mahmoud Abbas before Abbas became President of the Palestinian National Authority, and gave a speech at the University of Nairobi in which he condemned corruption within the Kenyan government.

Exception after 975.13427734375 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 969.55883789062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1027.9919433594 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
The choice of the announcement site was viewed as symbolic because it was also where Abraham Lincoln delivered his historic "House Divided" speech in 1858.

Exception after 711.26489257812 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 801.56494140625 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 824.62915039062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
Obama delivered his acceptance speech, not at the center where the Democratic National Convention was held, but at Invesco Field at Mile High to a crowd of approximately 84,000 people; the speech was viewed by over 38 million people worldwide.

Exception after 822.94018554688 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 819.45532226562 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 707.76196289062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
Obama delivered his victory speech before hundreds of thousands of supporters in Chicago's Grant Park.

Exception after 914.19116210938 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 718.89086914062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 717.7529296875 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
In a major space policy speech in April 2010, Obama announced a planned change in direction at NASA, the U.S. space agency.

Exception after 804.74682617188 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 892.67578125 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1062.6079101562 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
After much public debate during the Congressional summer recess of 2009, Obama delivered a speech to a joint session of Congress on September 9 where he addressed concerns over the proposals.

Exception after 1091.5200195312 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1055.6486816406 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1442.5720214844 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
Prior to June 2014, Obama offered substantial support for a broadly-based "All of the above" approach to domestic energy policy, which Obama has maintained since his first term and which he last confirmed at his State of the Union speech in January 2014 to a mixed reception by both parties.

Exception after 1106.6130371094 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 743.43896484375 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 728.23876953125 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
In April, Obama gave a speech in Ankara, Turkey, which was well received by many Arab governments.

Exception after 642.56274414062 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 893.6982421875 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 759.10498046875 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
On June 4, 2009, Obama delivered a speech at Cairo University in Egypt calling for "A New Beginning" in relations between the Islamic world and the United States and promoting Middle East peace.

Exception after 619.17797851562 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 716.07275390625 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 696.88012695312 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
He gave a speech encouraging the world to increase economic ties via investments and trade with the continent, and lauded the progress made in education, infrastructure, and economy.

Exception after 717.90112304688 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 716.37109375 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 622.22607421875 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
Hiroshima speech

Exception after 1235.3850097656 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1066.8762207031 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 1022.8937988281 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
Expressing puzzlement over questions about whether he is "black enough," Obama told an August 2007 meeting of the National Association of Black Journalists that "we're still locked in this notion that if you appeal to white folks then there must be something wrong." Obama acknowledged his youthful image in an October 2007 campaign speech, saying: "I wouldn't be here if, time and again, the torch had not been passed to a new generation."

Exception after 823.15893554688 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 875.01806640625 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 733.29077148438 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
His concession speech after the New Hampshire primary was set to music by independent artists as the music video "Yes We Can," which was viewed 10 million times on YouTube in its first month and received a Daytime Emmy Award.

Exception after 578.34375 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 819.51000976562 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 716.15600585938 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
His first speech was for part of the video streamed online program, “Show Me Your Walk H.B.C.U.

Exception after 510.6552734375 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 592.44116210938 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Exception after 676.52294921875 milliseconds since request.
[062594d9df7955b7d4c6ed19] [no req]   SpeechoidConnectorException from line 69 of /vagrant/mediawiki/extensions/Wikispeech/includes/SpeechoidConnector.php: Unable to communicate with Speechoid.
Backtrace:
#0 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(196): SpeechoidConnector->synthesize(string, string, string, integer)
#1 /vagrant/mediawiki/maintenance/doMaintenance.php(107): Benchmark->execute()
#2 /vagrant/mediawiki/extensions/Wikispeech/maintenance/benchmark.php(380): require_once(string)
#3 {main}

Giving up after attempt #3. Segment ignored.
SPEECH Act


Benchmark results
-----------------

Number of segments: 1412
Milliseconds spent segmenting: 1238.5671386719
Mean milliseconds spent segmenting per segment: 0.87717219452682
Mean milliseconds spent segmenting per token synthesized: 0.058012383793909
Mean milliseconds spent segmenting per token character synthesized: 0.013999990977128
Warning! Not all segments synthesized, mean segmenting per token values might be slightly off.

Number of synthesized segments: 1395
Number of synthesized tokens: 21093
Number of synthesized token characters: 87404

Mean number of tokens per synthesized segment: 15.120430107527
Mean number of token characters per synthesized segment: 62.655197132616

Mean milliseconds synthesizing per token: 378.12895273313
Mean milliseconds synthesizing per token character: 91.25296325111
Mean bytes synthesized voice per token: 4417.7968046271
Mean bytes synthesized voice per token character: 1066.1364239623

Milliseconds of synthesized voice: 7975874
Seconds of synthesized voice: 7975.874
Minutes of synthesized voice: 132.93123333333

Milliseconds spent synthesizing: 5783572.2150879
Seconds spent synthesizing: 5783.5722150879
Minutes spent synthesizing: 96.392870251465

Synthesized voice bytes: 93184588
vagrant@vagrant:/vagrant/mediawiki$

Change 631719 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Speechoid/Wikispeech benchmark maintenance script

https://gerrit.wikimedia.org/r/631719