From b91b549086a6d311cb2f253201d6dbaf7f2e78ea Mon Sep 17 00:00:00 2001
From: Daniel Bulant
Date: Mon, 16 May 2022 22:08:01 +0200
Subject: [PATCH] add calculation method table
---
.../_compare/Compare.svelte | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/src/routes/posts/quick-comparison-of-s3/_compare/Compare.svelte b/src/routes/posts/quick-comparison-of-s3/_compare/Compare.svelte
index 2823abc..ffaaffe 100644
--- a/src/routes/posts/quick-comparison-of-s3/_compare/Compare.svelte
+++ b/src/routes/posts/quick-comparison-of-s3/_compare/Compare.svelte
@@ -111,7 +111,7 @@
- Additional options
+ Additional options and details
Average file size
It does account file count into the pricing maths, defaults to 1 file downloaded = GetObject op. I think that the ops pricing is just anti-spam measure.
@@ -121,6 +121,23 @@
+
+
+
+ Service
+ Calculation method
+ Result
+
+
+ {#each data as service}
+
+ {service.name}
+ {service.price.toString().substring(service.price.toString().indexOf("=>") + 3)}
+ {Math.floor(service.price({ egress, fileCount, storage }))}
+
+ {/each}
+
+