Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
google-fruit
/
dae2949c9c8e0fb625c6fbeae8c1c277a75b3cf6
/
examples
dae2949
Update the server example to use normalized components.
by Marco Poletti
· 10 years ago
6d1b7f3
Increase the multiplier to 64 in the compile-time benchmark.
by Marco Poletti
· 10 years ago
845a3d4
Revert "Change the representation of compile-time lists.". There is no compile-time performance benefit with Clang, and the compile-time with GCC was ~10% worse.
by Marco Poletti
· 10 years ago
2ccfbbf
Change the representation of compile-time lists.
by Marco Poletti
· 10 years ago
4da94a6
Add compile-time benchmark.
by Marco Poletti
· 10 years ago
15ffd28
Improve benchmark, now measuring several metrics. Remove bench.sh.
by Marco Poletti
· 10 years ago
3ff7136
Re-increase the benchmark size to ~400 types.
by Marco Poletti
· 10 years ago
492b1ba
Split NormalizedComponentStorage out of InjectorStorage.
by Marco Poletti
· 10 years ago
66d59c0
Don't run bench.sh during "make benchmark", expect the user to run it separately afterwards.
by Marco Poletti
· 10 years ago
756ef1f
Change the benchmark to use both registerConstructor and bind in each component.
by Marco Poletti
· 10 years ago
08486e0
Update benchmark: change the number of injected types, reduce number of includes.
by Marco Poletti
· 10 years ago
dd0a023
Disable assertions when benchmarking.
by Marco Poletti
· 10 years ago
fdbfcbe
Split InjectorStorage out of ComponentStorage.
by Marco Poletti
· 10 years ago
c7a632c
Add a bench.sh script to run the benchmark multiple times and report the average.
by Marco Poletti
· 10 years ago
e7a7102
Increase the number of loops in the benchmark.
by Marco Poletti
· 10 years ago
a02c7df
Change component dependencies to avoid calling the same getComponent() more than once in the whole system.
by Marco Poletti
· 10 years ago
6455f45
generate_benchmark now generates a more meaningful benchmark, with a component per file (that installs the necessary other components).
by Marco Poletti
· 10 years ago
f4df33e
Improve thhe benchmark to also benchmark types with dependencies. Add a C++ program that generates the benchmark.
by Marco Poletti
· 10 years ago
927eafc
Add a ComponentImpl 'cast' that takes a ComponentImpl&&.
by Marco Poletti
· 10 years ago
5a0838f
Add a smaller benchmark.
by Marco Poletti
· 10 years ago
09f7617
Add injection benchmark.
by Marco Poletti
· 10 years ago
09fa583
Optimize allocations by allocating a single chunk of memory in the injector.
by Marco Poletti
· 10 years ago
cad3698
Minor changes to the examples.
by Marco Poletti
· 10 years ago
c26bac0
Remove injection_scopes example, turn it into a 'server' example.
by Marco Poletti
· 10 years ago
bf7cf56
Add new example: examples/scaling_doubles.
by Marco Poletti
· 10 years ago
7496e36
Some improvement to examples/simple_injection.
by Marco Poletti
· 10 years ago
7bde950
Include Fruit as <fruit/fruit.h> instead of "fruit/fruit.h".
by Marco Poletti
· 10 years ago
6c83bde
Implement eager injection.
by Marco Poletti
· 10 years ago
a5f49d4
Split the Injector class, now Provider is a separate class.
by Marco Poletti
· 10 years ago
65d8eb9
Implement multibindings.
by Marco Poletti
· 10 years ago
d61b579
Implement injection scopes, plus some other changes:
by Marco Poletti
· 10 years ago
c0db95e
Rename Module->Component, UnsafeModule->ComponentStorage.
by Marco Poletti
· 10 years ago
eadb5f7
Add a few comments to the hello world example.
by Marco Poletti
· 10 years ago
cf798fa
Initial commit.
by Marco Poletti
· 10 years ago