Closed RT-Tap closed 1 year ago
Of cource you could, just look at this answer https://github.com/dexplo/dataframe_image/issues/68#issuecomment-1379937728 and replace args to whatever you want.
If any argument really speed it up please update it here.
Hi, I'm trying to export some simple dataframes to a png. Nothing complex, like 2 columns 15 rows max however it takes over 4 minutes to create each png which is kind of ridiculous. When I first installed dataframe_images it was slow but not this slow and after a day or two it just became extremely slow not sure why. Everything I find online with regard to setting chrome headless parameters is from the command line or using something like selenium. So I was curious where I could set chrome options for use either permanently or during export/creation of pngs?
I wanted to try passing these parameters in hopes of speeding it up :
--headless
,--no-sandbox
,--disable-gpu
,--no-proxy-server
,--proxy-server='direct://'
,--proxy-bypass-list=*
.Also this is the output during creation of the png files:
But I don't think any of these are responsible for slowing chrome down this bad.
Also some extra info: Python 3.8.10 Ubuntu 20.04.5 LTSRelease: 20.04 Codename: focal
If you need anymore info please let me know, open to any and all suggestions! Thank you.