Comments (6)
Hi @mledom , thanks for reporting this! This is an issue we're aware of, from our own usage with Netlify Functions (internally Lambda).
I'm going to dedicate a bit of time to look into this, and see if there is any optimisation we can do to lower the package size. I'll keep you updated 👍
from google-ads-node.
Hi @mledom , I've just merged in #18, which adds minification of the compiled protos directory. The details can be found in the PR writeup. Subsequently, we've released a new google-ads-node version, 1.12.1.
This is a good first step and brings down the package size significantly, but we think there is more we can do to bring the overall package size down. Stay tuned for more 👍
from google-ads-node.
@kritzware any progress or ideas on bringing the package size down? It looks like the bulk of it sits inside src
and the large number of files in both v7
and v8
. Protos folder is also quite large, but not comparable to the other two. Maybe a toned down version of the library (lite) or a way for developers to pick and choose which modules they install/use would be an interesting solution.
from google-ads-node.
An update on this: we've had some ideas on how we might be able to further reduce the package size, ranging from releasing a "google-ads-node-lite" (think of an alpine release), to compiling protos on the fly.
I'll make sure to keep this issue updated when we decide on our next steps.
from google-ads-node.
Hi @kritzware what do you mean with compiling protos on the fly ?
from google-ads-node.
@sweetanalytics See #99 for a solution - this is a problem with the upstream proto builder Google uses. I recommend using another proto builder and gRPC library on top of those protos
from google-ads-node.
Related Issues (20)
- Please update protos for v11.1 HOT 3
- Upgrade Google Ads to v13
- Upgrade Google Ads to v14
- Upgrade google-auth-library-nodejs HOT 1
- Label missing fields in resources.ts HOT 1
- Missing 'UserDataService' HOT 2
- How to get the login_customer_id of a client account programatically? HOT 1
- Receiving RESOURCE_EXHAUSTED: received trailing metadata size exceeds limit HOT 1
- Upgrade Google Ads to v6 HOT 1
- Using with Google service account and JWT HOT 1
- Next.js: Module not found: Can't resolve 'child_process' HOT 1
- High memory usage HOT 2
- Long initial init time HOT 1
- Huge package size HOT 2
- keywordPlanIdeas.generateKeywordIdeas() is returning dumb fileds
- Compilation issues with M1 chips
- Problem with authorization HOT 1
- How to authorize UserDataServiceClient
- lead_form_submission_data.proto is missing HOT 2
- Project structure question HOT 2
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 google-ads-node.