1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
examples/omnetpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
example_algorithms.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
flags.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
flags_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
flags_util.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
generation.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
generation_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
genetic_algorithm.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hill_climb_best_neighbor.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
iterative_elimination.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
mock_task.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pipeline_process.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pipeline_process_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pipeline_worker.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pipeline_worker_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
steering.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
steering_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
task.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
task_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
testing_batch.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

bestflags

There is a vast set of compiler flags that can be used to build Chrome for ChromeOS. This option space has not been explored before. This directory provides an infrastructure to build Chrome with certain flag combinations, test it, gather results and prepare a fresh batch of flags to repeat the process. The infrastructure supports plug-in modules that implement algorithms for searching in the N-Dimensional space of compiler flag combinations.

Currently, three different algorithms are built, namely genetic algorithm, hill climbing and negative flag iterative elimination. The module testing_batch.py contains the testing of these algorithms.

To run the script, type in python testing_batch.py.

For further information about the project, please refer to the design document at:

https://docs.google.com/a/google.com/document/d/19iE9rhszTWjISBpKJ3qK8uBCoUjs0o4etWDRkyEeUOw/

There is also a presentation slide available at:

https://docs.google.com/a/google.com/presentation/d/13rS9jALXffbP48YsF0-bsqovrVBfgzEud4e-XpavOdA/edit#slide=id.gf880fcd4_180