You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ A collection of JavaScript front-end debugging tools provided as a set of separa
6
6
| --- | --- |
7
7
|**`@probe.gl/log`**| A JavaScript logging library focused on facilitating debugging and performance instrumentation of front-end applications. |
8
8
|**`@probe.gl/env`**| Basic environment detection (Browser, Node, Electron etc). |
9
-
|**`@probe.gl/stats`**| A minimal bag of performancerelated stats that applications or frameworks can populate. |
10
-
|**`@probe.gl/stats-widget`**| An HTML widget that helps applications display the contests of `@probe.gl/stats` objects. |
9
+
|**`@probe.gl/stats`**| A minimal bag of performance-related stats that applications or frameworks can populate. |
10
+
|**`@probe.gl/stats-widget`**| An HTML widget that helps applications display the contents of `@probe.gl/stats` objects. |
11
11
|**`@probe.gl/bench`**| A benchmark rig to help measure and track regressions of critical functions. |
12
12
|**`@probe.gl/react-bench`**| A React component that displays the output of `@probe.gl/bench`. |
13
13
|**`@probe.gl/test-utils`**| Test "Drivers" for running automated browser testing from Node via `puppeteer`. |
14
14
15
15
## Comparison with other Logging Solutions
16
16
17
-
proble.gl's focus on debugging and performance instrumentation of front-end applications has lead to different design choices and priorities compared with logging libraries that are designed for facilitating logging of production code in back-end services. Those libraries are often focused on integrating with various logging backends (log to file, log to server, etc) and not on integrating with the browser console and the front-end debugging workflow.
17
+
probe.gl's focus on debugging and performance instrumentation of front-end applications has led to different design choices and priorities compared with logging libraries that are designed for facilitating logging of production code in back-end services. Those libraries are often focused on integrating with various logging backends (log to file, log to server, etc.) and not on integrating with the browser console and the front-end debugging workflow.
18
18
19
19
20
20
## Features
21
21
22
-
***Off by default** - probe.gl makes efforts to have a minimal performance footprint when not enable, to let you consider leaving your probes switched off in production code.
22
+
***Off by default** - probe.gl makes efforts to have a minimal performance footprint when not enabled, to let you consider leaving your probes switched off in production code.
23
23
***Lightweight** - probe.gl is designed to have a small impact on application bundle size and to avoid dependencies on other modules.
Copy file name to clipboardExpand all lines: docs/roadmap.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,16 @@
2
2
3
3
We are still iterating on probe.gl. Here are some of the ideas, in very rough form...
4
4
5
-
-**In-memory log:** Instead of, or in addition to, logging to the console, `Probe.probe`now saves to an internal array of log messages. This allows you to turn console output off and do post-facto reporting or visualization.
5
+
-**In-memory log:** Instead of, or in addition to, logging to the console, `Probe.probe`can save to an internal array of log messages. This allows you to turn console output off and do post-facto reporting or visualization.
6
6
7
7
-**Persistent settings and saved logs** - Local storage configuration now allows for persistent configuration (including enable/disable) across browser sessions, and makes it easier to have Probe disabled (or enabled, for developers) in production. This also makes it easy to set additional development flags like `isNewFeatureEnabled`. Usage via the JS console:
Copy file name to clipboardExpand all lines: docs/upgrade-guide.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,25 +4,25 @@
4
4
5
5
6
6
**ES Modules**
7
-
- probe.gl is used to test transition to ES Modules for all the vis.gl frameworks including deck.gl.
8
-
- You are welcome report any issues in the probe.gl repo.
7
+
- probe.gl is used to test the transition to ES Modules for all the vis.gl frameworks including deck.gl.
8
+
- You are welcome to report any issues in the probe.gl repo.
9
9
10
10
**`@probe.gl/bench`**
11
-
-`Bench.add()` / `Bench.addAsync()` - The number of overloads has been reduced so some existing benchmark suites may need to be updated. When specifying priority and options, simply supply a property object instead of position arguments.
11
+
-`Bench.add()` / `Bench.addAsync()` - The number of overloads has been reduced so some existing benchmark suites may need to be updated. When specifying priority and options, simply supply a property object instead of positional arguments.
12
12
- Custom logging
13
13
- the type of each `LogEntry` is now controlled by the `type` field instead of the `entry` field.
14
14
- For `LogEntry.type`, the LOG_ENTRY export is removed in favor of simple string constants.
15
15
16
16
**`probe.gl`**
17
-
- The `probe.gl` "umbrella" module is no longer available as of 4.0. Simply replace`probe.gl` with the scoped `@probe.gl/...` modules you are actually using.
17
+
- The `probe.gl` "umbrella" module is no longer available as of 4.0. Replace`probe.gl` with the scoped `@probe.gl/...` modules you are actually using.
18
18
19
19
## Upgrading to v3.5
20
20
21
-
- From v3.5, the `probe.gl` module is being deprecated in favor of importing sub modules `@probe.gl/...`.
22
-
- The `probe.gl` module may be removed in probe.gl v4.0, but for backwards compatibility, this module will still be present in v3.x.
21
+
- From v3.5, the `probe.gl` module is being deprecated in favor of importing submodules `@probe.gl/...`.
22
+
- The `probe.gl` module may be removed in probe.gl v4.0, but for backwards compatibility this module will still be present in v3.x.
23
23
-`probe.gl` no longer contains any code, it just re-exports from `@probe.gl/env`, `@probe.gl/log`, `@probe.gl/stats`.
24
24
25
25
To upgrade:
26
-
-`import 'probe.gl` should be replaced with `import '@probe.gl/env'`, `import '@probe.gl/log'` and/or `import '@probe.gl/stats'` (depending on which imports you are using.).
26
+
-`import 'probe.gl'` should be replaced with `import '@probe.gl/env'`, `import '@probe.gl/log'` and/or `import '@probe.gl/stats'` (depending on which imports you are using).
27
27
- Update your `package.json` file(s) to install the submodules instead of the main module.
28
-
- The `import 'probe.gl/env` subdirectory import should be replaced with `import '@probe.gl/env'` (note the leading `@` sign). The subdirectory import is occasionally causing problems with bundlers and the submodule import should be more robust.
28
+
- The `import 'probe.gl/env'` subdirectory import should be replaced with `import '@probe.gl/env'` (note the leading `@` sign). The subdirectory import occasionally causes problems with bundlers and the submodule import should be more robust.
0 commit comments