Comments (13)
@generative-design/authors Can everyone please check this ... and tell us the behaviour on their machines? Please use the branch pre-release
for testing.
from code-package-p5.js.
I've added v0.5.12, v0.5.14 and 0.5.16 to the libraries folder to make it easier for you to test.
from code-package-p5.js.
And added a test folder.
from code-package-p5.js.
On my machine... macbook pro v10.12
on chrome 63.0.3239.132 (Official Build) (64-bit):
- index-v0.5.12 is the snappiest. Then the current and 0.5.14 are roughly the same.
on firefox 57.0.4 (64-bit):
- index-v0.5.12 performs slightly better than the others. The current and 0.5.14 perform roughly the same.
from code-package-p5.js.
Same here. Tested with chrome 64.0.3282.85 (64-bit) and firefox 57.0.4 (64-bit) on macbook pro with os x 10.12.
p5 v0.5.12 is at least twice as fast than v0.5.14 or 16.
from code-package-p5.js.
Thanks for looking into it @bohnacker ! How do you think we should proceed?
from code-package-p5.js.
@joeyklee Can you ask via your insider link the p5js dev whether this is a know issue and whether there is a new version coming up addressing this? I couldn't find in any pointers in the release notes ... and @bohnacker said he couldn't find any slow perf issues on the p5 github either.
from code-package-p5.js.
@b-g does it make sense to post to the P5js issues? If so, then I'd reference our issue thread here for reference and then reach out to our contacts. Cool?
from code-package-p5.js.
@joeyklee please!
from code-package-p5.js.
Please see discussion forming here: processing/p5.js#2549 (comment)
from code-package-p5.js.
@bohnacker I added p5.disableFriendlyErrors = true;
to the beginning of the sketch.js in the test
. It feels that it does indeed improve the performance. Please give it a try to see if you also notice that there is a speed up.
from code-package-p5.js.
@joeyklee Gave it a try with the test sketch and the frameRate seems again similar to v0.5.12. I'm not sure what to do. It sounds like the new "friendlyErrors" feature would be something that we want to keep for our sketches. Still, for some of the book sketches it would be nicer to have the frameRate as fast as possible.
We should probably pick the sketches by hand where we add this line.
from code-package-p5.js.
Just tried the test sketch with the current verision (0.5.16) of p5.min.js. It is another 10 to 20% faster than the corresponding p5.js. So best would be to switch to the min versions. That also would keep the additional line out of our sketches.
I'll do that and close this issue afterwards.
from code-package-p5.js.
Related Issues (20)
- P_4_2_1_02 needs to be synchronised with P_4_2_1_01
- P_4_2_2_02 needs to be synchronised with P_4_2_2_01
- Readme: Add Acknowledgments and Contributors Link HOT 6
- P_4_3_1_02 needs to be synchronised with P_4_3_1_01
- P_4_3_3_02 needs to be synchronised with P_4_3_3_01
- loadImage() pushed to array fails in Firefox HOT 2
- Cross check data/README.md HOT 2
- index.html (sketch list)
- Code-Package-p5.js for p5js-web-editor HOT 39
- FYI / Please check for 1.0 release
- Readme: improve local webserver and setup instructions HOT 2
- Maintenance + updating to more recent p5.js version HOT 10
- gd not defined in P_1_2_2_01 HOT 2
- Question about uploading to p5.js editor HOT 7
- Blocked by CORS HOT 3
- Bug in P_1_2_1_01 HOT 2
- Erratum: mouseX and mouseY p. 46 and 47
- 404 link on generative-gestaltung.de HOT 4
- Unable to launch HOT 7
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 code-package-p5.js.