You've already forked zblade.dev
feat(blog): add table styles to layout and enhance token savings post
Add global CSS rules for markdown tables in BlogPost.astro including borders, padding, and row hover states. Update the token savings breakdown table to use an improved format with visual impact scales.
This commit is contained in:
@@ -38,13 +38,13 @@ Input tokens dropped from **15.08M to 10.41M**, which is a reduction of **4,676,
|
||||
|
||||
To provide full transparency, here is the breakdown across all 5 runs:
|
||||
|
||||
| Run | Naive Input | Compressed Input | Savings |
|
||||
| --- | ----------- | ---------------- | ------- |
|
||||
| 1 | 3.59M | 2.16M | 40% |
|
||||
| 2 | 3.22M | 1.66M | 48% |
|
||||
| 3 | 2.15M | 2.23M | -3% |
|
||||
| 4 | 2.95M | 1.66M | 44% |
|
||||
| 5 | 3.15M | 2.68M | 15% |
|
||||
| Run | 🟢 Naive Input | 🔵 Compressed Input | Savings | Impact Scale |
|
||||
| :-- | :------------- | :----------------- | :------ | :----------- |
|
||||
| **1** | 3.59M | 2.16M | **40%** | `████████░░` |
|
||||
| **2** | 3.22M | 1.66M | **48%** | `█████████░` |
|
||||
| **3** | 2.15M | 2.23M | **-3%** | `⚠️ lean run` |
|
||||
| **4** | 2.95M | 1.66M | **44%** | `█████████░` |
|
||||
| **5** | 3.15M | 2.68M | **15%** | `███░░░░░░░` |
|
||||
|
||||
On average across all runs, this resulted in **≈ 31% lower total token cost across the full test set**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user