Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Support passing FormData as data to http requests. #1126

Closed
wants to merge 162 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
c87db93
fix(http): support sending data as FormData
bgourlie Jun 8, 2014
62bfd31
fix(http): Remove content-type header when sending FormData
bgourlie Jun 8, 2014
ac59739
perf(compiler): An option to disable the ElementProbe.
jbdeboer Jun 9, 2014
f2a63ca
fix(dccd): fix false positive for collection moves
vicb Jun 9, 2014
95f3a2c
feat(benchmark): add automatic gc before each test
jeffbcross Jun 9, 2014
66f478b
docs(developer): fix typo in developer.md
jeffbcross Jun 10, 2014
509b9f6
perf(compiler): +6% Pre-compute ViewFactories, styles for components.
jbdeboer Jun 7, 2014
1806e26
benchmark(TreeComponent): Update for watchAST and disable ElementProbe.
jbdeboer Jun 10, 2014
0c996c6
test(benchmark): add test runner and stubs for bp.js
jeffbcross Jun 10, 2014
b0cf103
test(benchmark): add ability to run 25 iterations of test, sampling o…
jeffbcross Jun 10, 2014
ccd9fd0
feat(Scope): Use VmTurnZone.onScheduleMicrotask in Scope
mvuksano Apr 30, 2014
369fc1b
fix(scope): Use runAsync for microtasks in digest.
jbdeboer May 2, 2014
b62502e
feat(benchmark): add ability to adjust sample quantity
jeffbcross Jun 11, 2014
29ab541
feat(benchmark): record gc time for each test run
jeffbcross Jun 11, 2014
b3cdfb2
perf(ChangeDetector): lazy initialize DuplicateMap
IgorMinar Jun 11, 2014
b72a53d
perf(ChangeDetector): create _EvalWatchRecord#namedArgs lazily
IgorMinar Jun 11, 2014
d005565
perf: use HashMaps instead of LinkedHashMaps where possible
IgorMinar Jun 11, 2014
1eb4dab
feat(benchmark): change samples input type from range to text
jeffbcross Jun 12, 2014
2155ea6
feat(benchmark): improve sampling UI
jeffbcross Jun 12, 2014
6084e98
chore(benchmark): add underscorejs lib
jeffbcross Jun 12, 2014
cd188d8
feat(benchmark): add ability to profile memory usage per iteration
jeffbcross Jun 12, 2014
1ea9699
chore(benchmark): reduce code duplication with updateTimes()
jeffbcross Jun 13, 2014
661cf1d
chore(travis.yml): enable g3v1x, disable g3v1x-master
chirayuk Jun 13, 2014
d595b38
fix(scope): remove deprecation warning for scope.watch with context
chirayuk Jun 13, 2014
d08e87a
chore(benchmark): remove test for generateReportPartial
jeffbcross Jun 16, 2014
2ebd997
feat(benchmark): add statistical functions to calculate confidence in…
jeffbcross Jun 16, 2014
a313ae8
feat(benchmark): add confidence and stability info to averages
jeffbcross Jun 16, 2014
d383108
feat(benchmark): calculate relative margin of error and simplify report
jeffbcross Jun 17, 2014
5035b97
fix(benchmark): fix standard deviation calculation
jeffbcross Jun 17, 2014
2abddad
feat(benchmark): add standard deviation to report
jeffbcross Jun 17, 2014
6d872e4
chore(benchmark): remove interpolateHtml method
jeffbcross Jun 17, 2014
7c4a8f4
chore(benchmark): remove redundant getAverages method
jeffbcross Jun 17, 2014
a5bf9ba
refactor(benchmark): move all methods/props to appropriate namespaces
jeffbcross Jun 17, 2014
3a92216
fix(WatchGroup): Handle watching elements of array that were removed.
mvuksano May 25, 2014
b5f820d
feat(Scope): Instrument Scope to use User tags in Dart Obervatory
mvuksano Jun 10, 2014
2c4d588
feat(benchmark): calculate coefficient of variation
jeffbcross Jun 18, 2014
709f3ce
refactor(benchmark): reduce complexity, and move formatting of values…
jeffbcross Jun 18, 2014
0ee77f8
refactor(benchmark): reduce code redundancy for statistics calculations
jeffbcross Jun 18, 2014
3d5232f
feat(benchmark): improve layout of data by moving averages to dedicat…
jeffbcross Jun 18, 2014
ef69332
test(annotion_src_spec): re-enable tests failing due to dartbug 19177
vicb Jun 13, 2014
6ce7d11
chore(transformers): use dartSdkDirectory from code_transformers
cbracken Jun 11, 2014
bf01fc0
feat(mock): Add timer queue checks in mock zone
yjbanov Jun 17, 2014
98356e6
fix(component factory): Only create a single ShadowDomComponentFactory
jbdeboer Jun 19, 2014
3954229
feat(cache): Move cache out of core, add a CacheRegister
jbdeboer Jun 18, 2014
60a4e72
feat(cache): Add existing caches to CacheRegister
jbdeboer Jun 18, 2014
e644663
fix(cache): Do not export the Cache symbol.
jbdeboer Jun 21, 2014
09bd664
feat(http): run interceptors synchronously until first non-sync inter…
yjbanov Jun 19, 2014
bb4bdc5
feat(travis): Run against g3v1x as well
jbdeboer Jun 3, 2014
b501426
fix(travis): Work around Travis breakages
jbdeboer Jun 25, 2014
4ec9c6a
perf(scope): Cache the Scope.watch AST.
jbdeboer Jun 23, 2014
2f09292
feat(cache): Add a JS interface to CacheRegister
jbdeboer Jun 26, 2014
0710644
fix(ng-view): cleanup should not destroy an already destroyed scope
chirayuk Jun 26, 2014
d79f4de
fix(web platform): Do not barf on attribute selectors.
jbdeboer Jun 28, 2014
5751b55
chore(travis): use saucelabs for chrome and firefox tests
naomiblack Jun 29, 2014
dfd367b
chore(travis): fixed tunnel used by Karma on Saucelabs
naomiblack Jun 30, 2014
21ab310
Revert "feat(Scope): Instrument Scope to use User tags in Dart Oberva…
jbdeboer Jul 1, 2014
6e77df3
perf(view factory): 14% Precompute linking information for nodes
jbdeboer Jul 1, 2014
867cd0a
chore(travis): increase max-duration to address sauce timeout on FF test
naomiblack Jul 1, 2014
c6647d3
chore(docs): remove rm for old doc files. automating this is a bad idea.
naomiblack Jul 2, 2014
ff505c7
fix(parser): ensure only one instance of dynamic parser
chirayuk Jul 2, 2014
0b2e0b1
chore(npm): Pin jasmine-reporters version (2.0.0 breaks us)
jbdeboer Jul 3, 2014
413788e
fix(registry_dynamic): Do not use HashMaps.
jbdeboer Jul 3, 2014
5cf4c26
feat(http): support coalescing http requests
mvuksano Jun 18, 2014
aabb50c
Revert "feat(http): support coalescing http requests"
jbdeboer Jul 8, 2014
29af43b
fix(cache): Make UnboundedCache extend Cache
vicb Jun 24, 2014
f29b92a
docs(developer): fix developer docs listing incorrect scripts to run …
juliemr Jun 27, 2014
38c75ed
docs(developer): fix typo in DEVELOPER.md
rkirov Jul 7, 2014
a621fb6
fix(examples): do not use shadow DOM
chirayuk May 21, 2014
4e86533
fix(karma): remove saucelabs from default browser list.
rkirov Jul 7, 2014
1b7db42
chore(benchmark): Convert to DI bind syntax
jbdeboer Jul 7, 2014
a5da240
chore(cache): warnings
jbdeboer Jul 7, 2014
7797881
chore(cd): Add a toString() method
jbdeboer Jul 7, 2014
775a5e2
chore(parser): Remove unused 'annotationsFor' method from FormatterMap
jbdeboer Jul 7, 2014
c37ac61
chore(NgModel): Fix a typo
jbdeboer Jul 8, 2014
09ff7f1
chore(git): Add perf as a valid commit message type
jbdeboer Jul 8, 2014
a6bda22
chore(keys): Make DI Keys final
jbdeboer Jul 7, 2014
e8db8db
perf(various): Avoid putIfAbsent
jbdeboer Jul 7, 2014
26b5684
perf(element binder): Do not create tasklists when not needed
jbdeboer Jul 8, 2014
e9000f1
fix(transcluding component): Perfer getByKey over get
jbdeboer Jul 8, 2014
3d058c3
fix(NgModel): Read the view value in the flush phase
jbdeboer Jul 8, 2014
636c932
feat(animate): animationsAllowed property to turn off all animations
chirayuk Jun 30, 2014
587b9df
feat(testability): implement the testability for ProtractorDart
chirayuk May 21, 2014
04c387e
fix(introspection): work around http://dartbug.com/17752
chirayuk May 29, 2014
1c06d80
test(e2e): add end-to-end tests using ProtractorDart
chirayuk May 27, 2014
2927b1e
chore(scripts): fix detection of DART_SDK/DART/DARTIUM
chirayuk May 28, 2014
6fa640a
chore(pubspec): require newer protractor to support dart 1.6.0-dev.0.0
chirayuk Jun 30, 2014
c7ed757
test(introspection): work around issue 1219
chirayuk Jul 10, 2014
715edf4
chore(e2e): disable slow tests
chirayuk Jul 10, 2014
c8ebaa2
chore(pubspec): Upgrade to DI 1.2.1
jbdeboer Jul 11, 2014
b85c7ff
fix(directive): Support multiple directives with same selector.
mhevery Jul 11, 2014
cd6ea5f
chore(pubspec): Upgrade to DI 1.2.2
jbdeboer Jul 11, 2014
4f01a3a
Revert "refactor(ng-repeat): refactor the fix for #1015"
jbdeboer Jul 12, 2014
5494e10
chore(shadowless): remove noSuchMethod which improves dart2js size by…
mhevery Jul 9, 2014
2d9c32b
fix(benchmark): incorrect mirrors import
mhevery Jul 2, 2014
67485d0
perf(cd): fewer string concatenations (10% improvement)
mhevery Jul 2, 2014
d1d3479
chore(di): Update the Module.bind(toFactory) to the new DI 2.0.0 format
jbdeboer Jul 12, 2014
f588b92
chore(pubspec): Upgrade DI to 1.2.3.
jbdeboer Jul 14, 2014
b5a2392
feat(compiler): Backport DirectiveBinder API from #1178 to allow
jbdeboer Jul 14, 2014
3a083bd
fix(expression extractor): Do not use implicit DI
jbdeboer Jul 15, 2014
0b6ccb5
chore: remove empty file
mhevery Jun 17, 2014
ad72e02
fix(element binder): Use the new-style Module.bind(toFactory) syntax
jbdeboer Jul 15, 2014
81e099f
fix(various): Use the new-style Module.bind(toFactory) syntax
jbdeboer Jul 15, 2014
aeb4d30
fix(element binder): New-style Module.bind for AttrMustache
jbdeboer Jul 15, 2014
beca941
fix(ng-model): Turn off failing test until Dart 1.6 is stable.
rkirov Jul 15, 2014
d535b7e
chore(travis): run e2e tests as a separate job
chirayuk Jul 16, 2014
9c2008a
fix(introspection): getTestability should throw when ElementProbes ar…
chirayuk Jul 16, 2014
1054be9
feat(testability): whenStable replaces notifyWhenNoOutstandingRequests
chirayuk Jul 16, 2014
4d7a9f3
perf(View): Improve View instantiation speed and memory consumption.
mhevery Jul 11, 2014
ad84561
docs(select): Update docs for InputSelect and OptionValue
naomiblack Jun 6, 2014
ac9c065
docs(ng_model): Fix style of some of the directive entries
naomiblack Jun 6, 2014
47dadf3
docs(directives): Edit directive descriptions and add examples
naomiblack Jun 7, 2014
20d47fc
docs(directives): Add selector notation and some edits for clarity.
naomiblack Jun 7, 2014
25b6673
chore(docs): Fix left nav menu and restore di to nav
naomiblack Jun 3, 2014
0f9e23a
docs: Update travis setup instructions
vicb Jul 14, 2014
8e21e67
doc(Scope): add/fix the DartDoc
vicb Jul 21, 2014
3f945a1
fix(watch_group): fix for NaN !== NaN
vicb Jun 11, 2014
72fa26d
chore: add ng-class benchmark
IgorMinar Jun 25, 2014
ee55e8e
chore(annotations): Undeprecate some annotations
jbdeboer Jul 2, 2014
5ee0845
fix(benchmark): typo in element tag names
rkirov Jul 10, 2014
dace5f6
chore(bp): add min/max numbers to bp report
rkirov Jul 15, 2014
51be8d4
fix: missing exception detail in bindings
ferhatb Jul 18, 2014
ce73ff2
fix(pubspec): Add missing upper bound version constraints
vicb Jul 23, 2014
4f94168
chore(guinness): update to 0.1.13
vsavkin Jul 23, 2014
594d5e4
chore: remove left over injector
mhevery Jul 24, 2014
888ebd1
refactor(NgModel): simplify some code by using the predefined eqOrNaN()
vicb Jul 24, 2014
184d5a8
doc(ast): fix API doc
vicb Jun 11, 2014
640b855
fix(change_detector): fix NaN move detection in collections
vicb Jun 12, 2014
e3a7b09
fix(ng_repeat): fix ng_repeat not moving views for elements that have…
vicb Jun 17, 2014
363ebb9
chore(travis): fail build if a test has been 'iit'ed
vsavkin Jun 18, 2014
4861bf3
refactor(tests): remove unnecessary inject calls
vsavkin Jul 9, 2014
34fa443
fix(DynamicParser): Correctly handle throwing exceptions from method.
mvuksano May 24, 2014
35c4cc6
refactor(zone): add return types & doc
vicb May 27, 2014
44e194e
refactor(dccd): some renaming to clarify the intent
vicb Jun 6, 2014
1a3d22c
feat(http): support coalescing http requests
mvuksano Jun 18, 2014
6db977a
fix(directive-injector): Pass the correct injector into nested views
rkirov Jul 18, 2014
b16ca71
feat(router): added vetoable preLeave event
pavelgj May 26, 2014
768f822
feat(form): Add support for input[type=color]
vicb Jul 22, 2014
3be3cd1
chore(di): update di to 2.0
vsavkin Jul 24, 2014
9f64aa4
Revert "fix(directive-injector): Pass the correct injector into neste…
chirayuk Jul 25, 2014
fc0ead6
fix: Remove deprecated calls to DI bind(Type, inject[])
vicb Jul 24, 2014
9ac0b56
feat(DirectiveInjector): add a toInstanceOf parameter to bind()
vicb Jul 25, 2014
96c9db5
fix(NgRepeat): remove duplicated call to _updateContext()
vicb Jul 27, 2014
44b70cc
chore(test-bed): add fromInjector constructor to TestBed
rkirov Jul 28, 2014
0107809
chore(intl): support newer version of "intl"
alan-knight Jul 2, 2014
ad87a3a
fix(benchmark): Remove obsolete DI call
jbdeboer Jul 29, 2014
6961268
refactor(element_binder): Remove bindAttrName
jbdeboer Jul 29, 2014
463b3dc
chore(examples): Add a PolymerJS paper component using attribute mapp…
jbdeboer Jul 25, 2014
ce4fd86
feat(element binder): Bind to Web Component properties
jbdeboer Jul 25, 2014
e06991e
chore(example): Add paper-checkbox to the paper demo
jbdeboer Jul 30, 2014
c4266d1
chore(karma): Restrict the numbers of files watched for faster startup
jbdeboer Jul 30, 2014
128601d
chore(example): In the Paper example, make the checkbox less confusing
jbdeboer Jul 30, 2014
5345e59
perf(dccd): Drop useless checks
vicb Jul 23, 2014
fe80a9b
refactor(dccd): Drop the insertBefore arg from DuplicateMap.put()
vicb Jun 9, 2014
32a60f1
refactor: code cleanup
vicb Jul 31, 2014
93b3e82
feat(element binder): Two way binding for Web Components
jbdeboer Jul 30, 2014
bfec225
chore(presubmit): Do not use the g3v1x task for presubmit
jbdeboer Jul 31, 2014
8015275
chore(release): v0.13.0
vsavkin Jul 25, 2014
c0c8c55
fix(web components): Support Polymer quirks
jbdeboer Jul 31, 2014
3819eb0
doc(change): Add the "Highlights" section to the latest releases
vicb Aug 1, 2014
92d4608
chore(scripts): fail on pipe failures
chirayuk Jul 31, 2014
9ff8d7f
doc(WebPlatform): improve the inline doc
vicb Aug 2, 2014
f1268c9
refactor(WebPlatform): remove an unused property
vicb Aug 3, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 44 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,73 @@
language: node_js
node_js:
- "0.11"
- '0.11'
env:
matrix:
- JOB=unit-stable
CHANNEL=stable
TESTS=vm
BROWSERS=DartiumWithWebPlatform
- JOB=unit-g3stable
CHANNEL=stable
TESTS=dart2js
BROWSERS=ChromeNoSandbox,Firefox
TESTS=vm
BROWSERS=DartiumWithWebPlatform
USE_G3=YES
- JOB=unit-dev
CHANNEL=dev
TESTS=vm
BROWSERS=DartiumWithWebPlatform
- JOB=unit-stable
CHANNEL=stable
TESTS=dart2js
BROWSERS=ChromeNoSandbox,Firefox
BROWSERS=SL_Chrome,SL_Firefox
- JOB=unit-dev
CHANNEL=dev
TESTS=dart2js
BROWSERS=SL_Chrome,SL_Firefox
- JOB=e2e-g3stable
CHANNEL=stable
TESTS=vm
BROWSERS=DartiumWithWebPlatform
- JOB=unit-stable
USE_G3=YES
- JOB=e2e-stable
CHANNEL=stable
TESTS=vm
BROWSERS=DartiumWithWebPlatform
- JOB=e2e-dev
CHANNEL=dev
TESTS=vm
BROWSERS=DartiumWithWebPlatform
- JOB=e2e-stable
CHANNEL=stable
TESTS=dart2js
BROWSERS=SL_Chrome,SL_Firefox
- JOB=e2e-dev
CHANNEL=dev
TESTS=dart2js
BROWSERS=SL_Chrome,SL_Firefox
global:
- FIREFOX_VERSION="29.0"
- CHROME_BIN=/usr/bin/google-chrome
- secure: "AKoqpZ699egF0i4uT/FQ5b4jIc0h+KVbhtVCql0uFxwFIl2HjOYgDayrUCAf6USfpW0LghZxJJhBamWOl/505eNSe9HvEd8JLg/to+1Fo9xi9llsu5ehmNH31/5pue4EvsrVuEap1qqL6/BNwI2cAryayU0p5tV0g8gL5h4IxG8="
- FIREFOX_VERSION="30.0"
- CHROME_VERSION="35.0"
- secure: AKoqpZ699egF0i4uT/FQ5b4jIc0h+KVbhtVCql0uFxwFIl2HjOYgDayrUCAf6USfpW0LghZxJJhBamWOl/505eNSe9HvEd8JLg/to+1Fo9xi9llsu5ehmNH31/5pue4EvsrVuEap1qqL6/BNwI2cAryayU0p5tV0g8gL5h4IxG8=
- LOGS_DIR=/tmp/angular-build/logs
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987

# Don't test these branches.
branches:
except:
- g3v1x

- g3v1x-master
before_install:
- export DISPLAY=:99.0
- ./scripts/travis/install.sh
before_script:
- mkdir -p $LOGS_DIR
- ./scripts/travis/setup.sh
- ./scripts/sauce/sauce_connect_setup.sh
- ./scripts/sauce/sauce_connect_block.sh
script:
- ./scripts/travis/build.sh
after_success:
- ./scripts/travis/after-success.sh
after_script:
- ./scripts/travis/print-logs.sh
329 changes: 328 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

39 changes: 10 additions & 29 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ following products on your development machine:
* [Node.js](http://nodejs.org): We use Node to run a development web server,
run tests, and generate distributable files. We also use Node's Package
Manager (`npm`). Depending on your system, you can install Node either from
source or as a pre-packaged bundle.
source or as a pre-packaged bundle. You will need node v0.10.29+.

## Getting the Sources

Expand Down Expand Up @@ -115,47 +115,28 @@ pub install

NOTE: scripts are being written to embody the following steps.

To run base tests:
To run all unit tests:

```shell
# Source a script to define yet more environment variables
. ./scripts/env.sh

# Run io tests:
dart --checked test/io/all.dart

# Run expression extractor tests:
./scripts/test-expression-extractor.sh

# Run the Dart Analyzer:
./scripts/analyze.sh
# Run all tests
./scripts/run-test.sh
```

To run Karma tests over Dartium, execute the following shell commands (which
will launch the Karma server):
To run Karma tests over Dartium, execute the following shell command:

```shell
. ./scripts/env.sh
node "node_modules/karma/bin/karma" start karma.conf \
--reporters=junit,dots --port=8765 --runner-port=8766 \
--browsers=Dartium
--browsers=Dartium --single-run
```

In another shell window or tab, or from your favorite IDE, launch the Karma
tests proper by executing:
To make a persistent Karma server that watches for changes in your files and
runs tests on change, replace `--single-run` with `--auto-watch`.

```shell
. ./scripts/env.sh
./scripts/karma_run.sh
```

**Note:**: If the dart analyzer fails with warnings, the tests will not run.
You can manually run the tests if this happens:

```shell
karma run --port=8765
```

**Note**: If you want to only run a single test you can alter the test you wish
to run by changing `it` to `iit` or `describe` to `ddescribe`. This will only
run that individual test and make it much easier to debug. `xit` and `xdescribe`
Expand Down Expand Up @@ -213,15 +194,15 @@ Set the parameters as follow:
- **PATH**: `/path/to/dart-sdk/bin`
- **DART_FLAGS**: `--checked`

Launch the server by selecting the "Karmer server" configuration in the toolbar
Launch the server by selecting the "Karma server" configuration in the toolbar
and pressing the play icon. You should see the following message at the bottom
of the run window:
`INFO [Chrome 34.0.1847 (Linux)]: Connected on socket 97GpzQz-MfHFPHgHOVkc with id 10199707`

#### Running the tests

You need to create a "Karma tests" run configuration. Start by copying the
"Karma server" run configuration and xhange the **Application parameters** to
"Karma server" run configuration and change the **Application parameters** to
`run --port=8765`.

To execute the test suite, you just need to run this "Karma tests"
Expand Down
68 changes: 68 additions & 0 deletions benchmark/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// Karma configuration
// Generated on Tue Jun 10 2014 08:41:10 GMT-0700 (PDT)

module.exports = function(config) {
config.set({

// base path, that will be used to resolve files and exclude
basePath: '',


// frameworks to use
frameworks: ['jasmine'],


// list of files / patterns to load in the browser
files: [
'web/*.js'
],


// list of files to exclude
exclude: [

],


// test results reporter to use
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
reporters: ['progress'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
browsers: ['Chrome'],


// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,


// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun: false
});
};
8 changes: 8 additions & 0 deletions benchmark/launch_chrome.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

platform=`uname`
if [[ "$platform" == 'Linux' ]]; then
`google-chrome --js-flags="--expose-gc"`
elif [[ "$platform" == 'Darwin' ]]; then
`/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --enable-memory-info --enable-precise-memory-info --enable-memory-benchmarking --js-flags="--expose-gc"`
fi
16 changes: 9 additions & 7 deletions benchmark/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
analyzer:
description: analyzer
source: hosted
version: "0.13.6"
version: "0.15.7"
angular:
description:
path: ".."
Expand All @@ -30,23 +30,25 @@ packages:
code_transformers:
description: code_transformers
source: hosted
version: "0.1.3"
version: "0.1.4+2"
collection:
description: collection
source: hosted
version: "0.9.2"
di:
description: di
source: hosted
version: "0.0.40"
description:
path: "../../di.dart"
relative: true
source: path
version: "2.0.0-alpha.9"
html5lib:
description: html5lib
source: hosted
version: "0.10.0"
intl:
description: intl
source: hosted
version: "0.9.9"
version: "0.9.10"
logging:
description: logging
source: hosted
Expand All @@ -62,7 +64,7 @@ packages:
path:
description: path
source: hosted
version: "1.1.0"
version: "1.2.1"
perf_api:
description: perf_api
source: hosted
Expand Down
1 change: 1 addition & 0 deletions benchmark/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ transformers:
- $dart2js:
minify: false
checked: false
commandLineOptions: [--dump-info]
2 changes: 1 addition & 1 deletion benchmark/watch_group_perf.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:benchmark_harness/benchmark_harness.dart';

@MirrorsUsed(
targets: const [
'angular.perf.watch_group'
'angular.benchmarks.watch_group'
],
override: '*'
)
Expand Down
7 changes: 7 additions & 0 deletions benchmark/web/bootstrap.min.css

Large diffs are not rendered by default.

Loading