# SproutCore development setup | |
# | |
# Setup a working directory for sproutcore development with the latest code. | |
# This setup is useful if you want to be able to easily view and/or edit the | |
# sproutcore libraries themselves while doing development. | |
# | |
# Stephen Bannasch, 2010 04 14 | |
# file: sproutcore_dev_setup.sh | |
# | |
# source sproutcore_dev_setup.sh |
require 'rubygems' | |
gem 'rack', '>= 1.1.0' | |
gem 'jnlp', '>= 0.6.2' | |
require 'rack' | |
require 'jnlp' | |
require 'fileutils' | |
require 'open-uri' |
# | |
# file get-mdns.rb | |
# | |
# Create a local git repository in mdns-responder-git of | |
# Apple's mDNSResponder open source implementation of zeroconf | |
# | |
# See: http://opensource.apple.com/source/mDNSResponder/ | |
# | |
# Each mDNSResponder archive located here: | |
# http://www.opensource.apple.com/tarballs/mDNSResponder/ |
echo " | |
*** generate the documentation for sproutcore and open in a browser: | |
cd $SPROUTCORE_DEV/sproutcore-git | |
sc-docs sproutcore | |
open tmp/docs/sproutcore/index.html | |
" | |
cd $SPROUTCORE_DEV/sproutcore-git |
Take a look at the comments and code in update.sh
.
$ source update.sh
I use update-usr-local.sh
after a successful build to copy the new JVM into /usr/local
.
I add pickjdk.sh
into my ~/.bash_profile
to allow easy switching between multiple JVMs.
# first recursive copy of external dir using rsync | |
$ rsync -avx --delete otto.concord.org:/web/xproject.dev.concord.org/current/public/system/attachments/ attachments | |
receiving file list ... done | |
created directory attachments | |
./ | |
10/ | |
10/original/ | |
10/original/GenePool6.exe | |
13/ |
Data taken 2011 05 03 using WebGL Matrix Benchmarks as of this commit 5699c... running on a MacBook Pro, 10.6.7, 2.66 GHz Intel Core i7
Note: January 7, 2020
This benchmark was written in 2012 and the performance measurements below are valid for browsers at that time. The attribute
path_seglist
has been removed from the SCG element on Chrome and Firefox and this older benchmark no long runs on those systems.
The benchmark does still run on Safari and now has performance equivalent to the Canvas benchmark.
This example benchmarks the time taken to draw an SVG path with 10000 line segments.