Skip to content

[pull] master from cube-js:master#423

Merged
pull[bot] merged 5 commits intocode:masterfrom
cube-js:master
Apr 23, 2026
Merged

[pull] master from cube-js:master#423
pull[bot] merged 5 commits intocode:masterfrom
cube-js:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 23, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ovr and others added 5 commits April 23, 2026 15:44
Microbenchmark (Node 22, Apple Silicon; `moment` baseline = `moment.utc(val).format(moment.HTML5_FMT.DATETIME_LOCAL_MS)`).

## Warm (N=2M, with warmup)

Steady-state throughput after V8's JIT has fully optimized both paths — representative of large result sets.

| input | moment | new | speedup |
|-------|--------|-----|---------|
| DATE | ~2770 ns | ~6 ns | ~450x |
| TIMESTAMP (no frac) | ~4440 ns | ~28 ns | ~160x |
| TIMESTAMP (ms) | ~4970 ns | ~48 ns | ~105x |
| TIMESTAMP (us → ms trunc) | ~4920 ns | ~41 ns | ~120x |
| TIMESTAMPTZ (+00) | ~4850 ns | ~35 ns | ~135x |
| TIMESTAMPTZ (ms +00) | ~5360 ns | ~57 ns | ~95x |
| TIMESTAMPTZ (us +00) | ~5250 ns | ~62 ns | ~85x |
| TIMESTAMPTZ (+02) *(non-UTC session)* | ~4690 ns | ~390 ns | ~12x |
| TIMESTAMPTZ (ms +05:30) *(non-UTC)* | ~5350 ns | ~435 ns | ~12x |
| TIMESTAMPTZ (us -03) *(non-UTC)* | ~5200 ns | ~400 ns | ~13x |

## Cold (N=100, no warmup)

No warmup, fresh module cache — representative of the first few rows / short-lived queries. moment sits at ~15 µs/call cold (its locale tables and regex compilation happen lazily on first use), which is where the biggest absolute wins live.

| input | moment | new | speedup |
|-------|--------|-----|---------|
| DATE | ~13.8 µs | ~35 ns | ~390x |
| TIMESTAMP (no frac) | ~18.5 µs | ~139 ns | ~135x |
| TIMESTAMP (ms) | ~16.0 µs | ~135 ns | ~120x |
| TIMESTAMP (us) | ~16.2 µs | ~128 ns | ~125x |
| TIMESTAMPTZ (+00) | ~16.1 µs | ~1230 ns | ~13x |
| TIMESTAMPTZ (ms +00) | ~16.5 µs | ~290 ns | ~55x |
| TIMESTAMPTZ (us +00) | ~15.2 µs | ~390 ns | ~40x |
| TIMESTAMPTZ (+02) *(non-UTC)* | ~14.7 µs | ~880 ns | ~17x |
| TIMESTAMPTZ (ms +05:30) *(non-UTC)* | ~15.3 µs | ~1000 ns | ~15x |
| TIMESTAMPTZ (us -03) *(non-UTC)* | ~16.7 µs | ~1000 ns | ~17x |
The example table was being misread as actual pricing. The rule (grants
equal half the seat price) is stated in prose, which is sufficient.

Made-with: Cursor
* docs: add prerequisites for Snowflake semantic views push

Generated-By: mintlify-agent

* docs: note Enable DDL operations setting for Snowflake push

Generated-By: mintlify-agent

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Generated-By: mintlify-agent

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Apr 23, 2026
@pull pull Bot added the ⤵️ pull label Apr 23, 2026
@pull pull Bot merged commit 408dc26 into code:master Apr 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants