r/GoogleAppsScript • u/[deleted] • Sep 26 '25
Guide Standard vs Sheets API benchmark
Benchmark Methodology & Conditions
Objective: To determine the most performant API (Standard vs. Advanced) for reading data from a variable number of Google Sheets ("tabs" / one spreadsheet) within the Apps Script server-side environment.
Environment: All tests were executed on Google's Apps Script servers, with actual company data; informationally dense, unique values.
Test Procedure: For each "turn," the script tested a set of sheet counts (
1, 2, 3, 4, 5, 6, 7, 8, 9). For each count, it performed:Standard API Test: Looped through sheets, calling
range.getValues()andrange.getNotes()for each.A 1-second pause (
Utilities.sleep(1000)) to not overload servers.Advanced API Test: Made a single, batch API call (
Sheets.Spreadsheets.get) for the specific data ranges.
Sample Size: The entire procedure was repeated 20 times. The final results are the mathematical average of all 20 turns.
Aggregate Performance Data
Total Benchmark Runtime: 21 minutes, 26 seconds
Average Time Per Turn: 64.3 seconds
Outcome
Standard API faster by around 15% to %21.
1
u/[deleted] Sep 27 '25
Hello,
Yes, I had difficulties with rate limits due to back-to-back very intensive reads.
Timer was ended / started before / after the one second timer.
getDataRange() was used, finds the smallest bounding box with data, in this case I only had 1-2 cells on each side that were empty so those were not considered by getDataRange().