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

Conversation

@yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Nov 23, 2021

It's easier to search for information when it's in one place. This PR also updates the README by fixing wording and typos, and removing references to options that no longer exist (e.g. --unit-tests_only, --integration-tests-only, options for browser versions, etc).

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Nov 23, 2021
@google-cla google-cla bot added the cla: yes label Nov 23, 2021
Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had a chat the other day about some of the ways we work with felt, should we use this opportunity to bring the doc up to speed, or is it sufficiently updated?

The solution is to delete the cached `felt.snapshot` files under `lib/web_ui`:

```
rm .dart_tool/felt.snapshot*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now use:

FELT_USE_SNAPSHOT=false felt ... 

That usually fixes the tool from that moment on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That fixes the kernel mismatch issue but it disables the snapshot, which slows down felt start-up time:

$ time felt test test/alarm_clock_test.dart real	0m10.601s user	0m12.223s sys	0m2.359s $ FELT_USE_SNAPSHOT=false time felt test test/alarm_clock_test.dart real	0m21.578s user	0m27.702s sys	0m4.177s 

So I wouldn't recommend it.

@yjbanov
Copy link
Contributor Author

yjbanov commented Nov 23, 2021

LUCI status is false due to flutter/flutter#90569. Merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-web Code specifically for the web engine

3 participants