Giter VIP home page Giter VIP logo

pt's Introduction

Angular Logo Electron Logo

Build Status Make a pull request License: MIT Known Vulnerabilities

Introduction

Pt is a simple tool to generate the basic performance report of your website.

Easy to Use

  • input the url
  • search...

Preview

Download

Report

  • Part1: you will see the list of all the resources you requested and the percentage of used (css and js)

  • Part2: you can review the lighthouse report which will give you directions on optimizing your page

Tools Related

  • Angular 7
  • Material UI
  • Typescript
  • Electronjs
  • SCSS
  • Puppeteer

Note

Please make sure you have chrome installed on your machine Pt will launch your chrome the generate the data.

pt's People

Contributors

dreambo8563 avatar

Stargazers

 avatar Yili He avatar fengjutian avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

web-sys1

pt's Issues

Error: An element could not be located on the page using the given search parameters ("app-home h1")

10% building modules 3/4 modules 1 active ...erial\prebuilt-themes\pink-bluegrey.cssBrowserslist: caniuse-lite is outdated. Please run next command `npm update`

Date: 2020-10-20T06:59:33.646Z
Hash: b052c1fc6ed2ba9639fe
Time: 98267ms
chunk {0} runtime.ec2944dd8b20ec099bf3.js (runtime) 1.41 kB [entry] [rendered]
chunk {1} main.4be1a6d67850b4dfbbc2.js (main) 551 kB [initial] [rendered]
chunk {2} polyfills.9d3a8743be9f041e6ba8.js (polyfills) 41 kB [initial] [rendered]
chunk {3} styles.4af0239c3b3523d7dada.css (styles) 63 kB [initial] [rendered]


  angular-electron App
    1) should display message saying App works !
    โˆš creates initial windows (139ms)


  1 passing (48s)
  1 failing

  1) angular-electron App
       should display message saying App works !:
     Error: An element could not be located on the page using the given search parameters ("app-home h1").
      at new CommandError (node_modules\webdriverio\build\lib\utils\ErrorHandler.js:137:12)
      at Object.<anonymous> (node_modules\webdriverio\build\lib\commands\getText.js:23:19)
      at Object.exec (node_modules\webdriverio\build\lib\helpers\safeExecute.js:28:24)
      at Object.resolve (node_modules\webdriverio\build\lib\webdriverio.js:190:29)
      at E:\locale\Pt\node_modules\webdriverio\build\lib\webdriverio.js:539:32
      at _fulfilled (node_modules\q\q.js:854:54)
      at E:\locale\Pt\node_modules\q\q.js:883:30
      at Promise.promise.promiseDispatch (node_modules\q\q.js:816:13)
      at E:\locale\Pt\node_modules\q\q.js:624:44
      at runSingle (node_modules\q\q.js:137:13)
      at flush (node_modules\q\q.js:125:13)
      at processTicksAndRejections (internal/process/task_queues.js:79:11)



npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] e2e: `npm run build:prod && mocha --timeout 300000 --require ts-node/register e2e/**/*.spec.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP 9\AppData\Roaming\npm-cache\_logs\2020-10-20T07_02_42_511Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.