Comments (3)
Testing shows that the new behaviour is actually slower because it consists of 2 more requests to the Graph API, which seems to outweigh the smaller responses being returned. On average, the new behaviour will cause data-embed
to take 8s as opposed to 6s for the old behaviour.
A small optimization where only the values
of a range are returned (not all the other information listed above), shows a slight performance gain in the range of 1-2 seconds.
from helix-data-embed.
Testing shows that the new behaviour is actually slower because it consists of 2 more requests to the Graph API, which seems to outweigh the smaller responses being returned.
- why are there 2 requests more ? isn't it only one more for the column names?
- can you use
$skip
and$top
instead of the address? - when a table is used, the header names can be retrieved.
from helix-data-embed.
why are there 2 requests more ? isn't it only one more for the column names?
1 request for the used range address, 1 request for the column names, 1 request for the values (which are not adjacent to the column names when offset
is not zero), as opposed to 1 request for all values in the used range, which include the header row.
can you use $skip and $top instead of the address?
already tried, has no effect, unfortunately.
when a table is used, the header names can be retrieved.
right, but this would still use one more request
from helix-data-embed.
Related Issues (20)
- Modernize data representation HOT 6
- use workbook API from onedrive-support HOT 1
- support passing the drive-item-id as src parameter HOT 1
- fetching data from sharepoint is very slow HOT 3
- Data Discrepancy between Excel and API HOT 3
- Cache (just a little bit) when serving Excel HOT 2
- Return last modified date of a file in a header HOT 4
- migrate to helix-deploy HOT 1
- multisheet support HOT 1
- Allow access token to be passed via authentication header HOT 1
- disable size limitation when not running on adobe i/o HOT 1
- add support for per-path metadata extraction
- Remove query-builder support? HOT 3
- Add option to save data to s3 HOT 2
- simplify multi-sheet responses HOT 2
- selecting multiple sheets doesn't work HOT 1
- 429 from Google Sheets becomes 500 in data-embed, should be 429 or 503 HOT 1
- Expose real file name HOT 2
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix-data-embed.