-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow to generate application.js #189
Comments
Apologies for the 'bug' label - it seems to have added it automatically and I can't seem to remove it. |
Not a problem. let's leave the bug, but add a question too. |
With Rails we could simply ask it to precompile the assets for us. But I couldn't find a solution for our Sinatra+sprockets. Sprockets will process the assets in our javascripts (and others) and combine them, creating an I tried this quick script:
And |
Great thanks that's definitely a step in the right direction. It ran without errors, and the application.js it generated looks sensible. However it doesn't display anything, and it's friday evening here, so will have a look next week. Hopefully something simple. I'm using this as a UI for an embedded device (with minor changes to make tiles clickable), so my off-label use case probably doesn't fit with what the project is designed for. It works great for it though. |
@qume could you test with the Feel free to approve the PR if that works for you :-) when merged, future versions of Smashing will include a Thanks |
Hijacking this issue for a quick question. Really interesting you used this board/computer. Hadn't heard about it. Looks like a raspberry pi, but with a GPU? Does it work well (not only for Smashing)? I have a very old Thinkpad that I don't have plans for replacing. But I've been using Blender, and due to my old GPU and its Cuda version, I'm rendering everything with my CPU. I've been reading about external GPU's and cloud rendering farms as alternatives, but now I'm wondering if I could perhaps use one of these AI/ML computers instead? Thanks! |
It looks like you're in Auckland. Send me your postal address to luke@reid.org.nz and I'll send you one. I'm using the Xavier NX because I needed a bit more horsepower, and I have a Jetson Nano here you can have. They work well. Nvidia can be slightly frustrating on the software side, but if you want something small with a bunch of Cuda they are great. Like you say, essentially a Raspberry Pi but with GPU |
When I launch smashing, the first request takes around 30 seconds. It looks like this is when it generates application.js.
Is this normal and expected, and if so are there any known ways to cache and/or speed this up. Restarting the server to re-read jobs scripts makes development slow. I realise I could move jobs out of smashing and have them push data in via the API, but wanted to check first others experiences.
Running Ubuntu 18 on Jetson Xavier NX
The text was updated successfully, but these errors were encountered: