The problem is clearly not connected to the emulator. Sign up using Facebook. Check out Bobik , a platform for real-time scraping, specifically this page. Typically this is not a concern although if you use them in many places with much repetition, they can cause some devices to take a noticeable performance hit. I’ll take a look into the selector though. Planned maintenance scheduled April 23, at For faster, general idea, testing you can always run Jsoup from a normal Java project and when you feel like you have improved it, throw it back on a device and see if it has similar performance improvements.
|License:||For Personal Use Only|
|iPhone 5, 5S resolutions||640×1136|
|iPhone 6, 6S resolutions||750×1334|
|iPhone 7, 7 Plus, 8, 8 Plus resolutions||1080×1920|
|Android Mobiles HD resolutions||360×640, 540×960, 720×1280|
|Android Mobiles Full HD resolutions||1080×1920|
|Mobiles HD resolutions||480×800, 768×1280|
|Mobiles QHD, iPhone X resolutions||1440×2560|
|HD resolutions||1280×720, 1366×768, 1600×900, 1920×1080, 2560×1440, Original|
Running on debuggin on my i5-Desktop-Machine I got no performance-penalty. This I find unacceptable and I was wondering if scrapee was any way to make this faster or if this is going to be an inherent bottleneck that I can’t do anything about.
Yes, I would be extremely hesitant to trust the results scrapfr the emulator. On a regular Java project, the get call is taking around seconds and the select call about 0. Yevgeniy Yevgeniy 1, 2 12 I’ll take a look into the selector though.
I think it’s something related to the huge number of calls of very small methods. Sign up imageboafd log in Sign up using Google. Planned maintenance scheduled April 23, at The problem right now is that it takes anywhere from seconds on average for Jsoup to get the HTML page to scrape.
Post as a guest Name.
It’s just the source URLs for the images. I had a friend test the lmageboard for a bit on his phone and he said it was slow but I don’t remember which part of the app he said was slow. There’s a lot of problems with it at the moment, but the biggest one right now is fetching the images to display them. Email Required, but never shown. Sign up using Facebook. For faster, imagebard idea, testing you can always run Jsoup from a normal Java project and when you feel like you have improved it, throw it back on a device and see if it has similar performance improvements.
Running the same code on the Android emulator, it’s taking the aforementioned seconds for get and around 0. Not that this is your issue but be aware that using iterators ‘can’ cause quite a bit of garbage collection to trigger. I presume its your scraping that is causing the speed issue. For more realistic results, try following some instructions for setting up an x86 based emulator.
Everything on Imageboard Scraper.
It is a night and day difference in performance. Announcing the arrival of Valued Associate Though a slightly different, imageboadd question has the same answer as Scraping dynamically generated html inside Android app. I use Eclipse and disconnect the debugger when i’m tired waiting. Anyway Jsoup is incredible and elegant library but this problem exists only in debug mode.
Can you identify better the content you want to get because there is imageboxrd one reason that can slow down the execution of your code.
Can you post the html? If your selector is to blame then consider finding another approach for querying and benchmark the results. Well the thing scrapet that I timed the get call which is where I got the second delay.