Hello, Bryan and guys, I saw Bryan's report in August and try to compile Proj.4 myself, but it fruits nothing...
I decompress proj.4.8.0 source zip, and in root folder, run commands: ~/emscripten/emconfigure ./configure ~/emscripten/emmake make ~/emscripten/emcc src/.libs/libproj.dylib -o libproj.js but, created libproj.js not include any proj4 functions. What command I should run for compiling proj.4 ? I want to know it for sample of studying emconfigure/emmake. Environment is, Proj.4 4.8.0 emscripten 1.7.8 clang 3.2 Mac OS X 10.8.5 Regards, 2013年8月20日火曜日 4時00分12秒 UTC+9 Bryan Rockwood: > > Greetings, > > Over the weekend, I attempted to compile and use the Proj.4 library > (version 4.8.0) with Emscripten (version 1.5.3) and clang (3.2). I'm able > to create a working library that I've been testing in IE10, Chrome, and > Firefox. I used emconfigure and emmake to compile the underlying library > and then used emcc to create a proj4.js file from the resulting libproj.so. > The highest optimization I passed to emmake and emcc was -O2. My reason > for writing is the performance I'm seeing. Here are the numbers from > various platforms (milliseconds averaged over 12 runs): > > Native: 47ms > Chrome 28: 95ms > IE10: 120ms > Firefox 23: 160ms > > The two other C libs I've compiled have performed incredibly well in > Firefox so I'm intrigued by how high the execution time is in this test. > At first I wondered if the trigonometric functions in Firefox were to be > blamed since Proj.4 makes heavy use of those but they are actually faster > than Chrome's (http://jsperf.com/trig-functions-vs-lookup-table). I'm > not writing to ask someone to "fix it" but instead I'm asking how does one > debug something like this (if there's anything to debug). I tried looking > at the profiler in Firefox, but it was quite the mess (obviously with that > optimization level) so any suggestions would be most welcome and thanks for > reading! > > Bryan > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
