This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "discovery#restDescription", | |
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/6s__cFeA5l1i01rONlu3TmUQEHs\"", | |
"discoveryVersion": "v1", | |
"id": "translate:v2", | |
"name": "translate", | |
"version": "v2", | |
"revision": "20160627", | |
"title": "Translate API", | |
"description": "Translates text from one language to another.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "v1beta2", | |
"baseUrl": "https://language.googleapis.com/", | |
"servicePath": "", | |
"description": "Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations.", | |
"kind": "discovery#restDescription", | |
"basePath": "", | |
"id": "language:v1beta2", | |
"revision": "20170525", | |
"documentationLink": "https://cloud.google.com/natural-language/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$s1 = microtime(true); | |
for ($i = 0; $i < 20; $i++) { | |
exec('php gapic.php'); | |
} | |
print microtime(true) - $s1 . PHP_EOL; | |
$s2 = microtime(true); |