Biwascheme is slow

61 views
Skip to first unread message

Amirouche Boubekki

unread,
Mar 8, 2017, 3:08:11 PM3/8/17
to BiwaScheme
I create a small application that allows user to create color palettes but it's rather slow.

https://amirouche.github.io/ohmypalette/

Is it possible to profile somehow the code to understand where's the bottleneck?

Any performance tips?

Tx!

Yutaka Hara

unread,
Mar 9, 2017, 3:15:53 AM3/9/17
to biwas...@googlegroups.com
2017-03-09 5:08 GMT+09:00 Amirouche Boubekki <amirouche...@gmail.com>:
I create a small application that allows user to create color palettes but it's rather slow.

https://amirouche.github.io/ohmypalette/

Is it possible to profile somehow the code to understand where's the bottleneck?

How about using `console.time`?

(js-eval "console.time('task1')")
(display "hello, world!")
(js-eval "console.timeEnd('task1')")

You will see a message like this in the developer console.

> task1: 4.229ms

--
Yutaka HARA
Reply all
Reply to author
Forward
0 new messages