This harness reproduces the four-way benchmark reported in
k0kubun/pp#114:
- the upstream baseline;
- streaming nested rendering only;
- regular-expression precompilation only;
- the combined pull-request branch.
This harness reproduces the four-way benchmark reported in
k0kubun/pp#114:
定額サブスクリプションによる AI の利用はあまり持続性がないとされ、法人向けには選択肢が減っていっている。 その中で Google Gemini の最新のモデルである Gemini 3.5 Flash を定額利用できる選択肢が密かに生まれていたので共有する。
On June 18, 2026, Gemini CLI and Gemini Code Assist IDE extensions will stop serving requests for Google AI Pro and Ultra, as well as those using it free of charge using Gemini Code Assist for individuals.
| from google.cloud import bigquery | |
| import google.auth | |
| def query(): | |
| credentials, project = google.auth.default( scopes=[ "https://www.googleapis.com/auth/bigquery.readonly"] ) | |
| client = bigquery.Client(credentials=credentials, project=project) | |
| query = "SELECT 1" | |
| results = client.query(query, api_method=bigquery.enums.QueryApiMethod.QUERY).result() | |
| for row in results: |
https://docs.cloud.google.com/spanner/docs/reference/standard-sql/procedural-language
I believe BEGIN, COMMIT, and ROLLBACK are not valid Spanner statement.
https://cloud.google.com/spanner/docs/reference/standard-sql/graph-patterns#quantified_paths
| package main | |
| import ( | |
| "context" | |
| "encoding/csv" | |
| "flag" | |
| "fmt" | |
| parser "github.com/cloudspannerecosystem/memefish" | |
| "github.com/cloudspannerecosystem/memefish/token" | |
| "log" |
SELECT SUBSTR(TO_HEX(x), 0, 8), SUBSTR(TO_HEX(x), 0, 16)
FROM(SELECT SHA256(CAST(FirstName AS BYTES)) @{DISABLE_INLINE=FALSE} AS x FROM Singers LIMIT 1)SELECT SUBSTR(TO_HEX(x), 0, 8), SUBSTR(TO_HEX(x), 0, 16)
FROM(SELECT SHA256(CAST(FirstName AS BYTES)) @{DISABLE_INLINE=TRUE} AS x FROM Singers LIMIT 1)https://issuetracker.google.com/issues/35905569#comment111
DECLARE v1 INT64 DEFAULT 123;
DECLARE v2 INT64 DEFAULT 123;
BEGIN
SET v1 = @v1;
SET v2 = @v2;
EXCEPTION WHEN ERROR THEN
-- nop$ export PROJECT_ID=gcpug-public-spanner INSTANCE_ID=merpay-sponsored-instance DATABASE_ID=apstndb-sampledb-with-data-idx
$ sh show-schema-tree.sh
Concerts
Singers
Albums
Songs
SongsBySingerAlbumSongNameDesc on Songs
SongGenres
AlbumsByAlbumTitle on Albums